Insight: How To Easily Install Powershell In Ubuntu 18.04 LTS Via Snap
Windows PowerShell is a shell developed by Microsoft. It is used for task automation and configuration management . PowerShell is based on the .NET framework and includes a command-line shell and associated scripting language. PowerShell is a cross-platform (Windows, Linux, and macOS)
Recently, PowerShell has been made available for Ubuntu as a Snap package.
How To Install PowerShell In Ubuntu 18.04 LTS Via Snap
To install powershell in Ubuntu via Snap, Open Ubuntu Software, search for the PowerShell and install PowerShell Core.
Alternatively, you can easily install PowerShell using command too. Open terminal (Ctrl+Alt+T) and install PowerShell with the help of following command:
snap install powershell --classic
Meanwhile, For other Ubuntu users except Ubuntu 18.04 LTS, You need to install snap at first:
sudo apt install snapd snapd-xdg-open