How to Install Microsoft PowerShell on Ubuntu

Microsoft PowerShell is a task automation and configuration management framework from Microsoft. PowerShell consisting of a command-line shell and associated scripting language built on the .NET Framework.Now Microsoft open sources the PowerShell and available for Linux and Mac users.

Install Microsoft PowerShell on Ubuntu

Visit the microsoft PowerShell github page and download the .deb file for your operating system.

Here its for Ubuntu 16.04 OS. And the default download location is Downloads folder and downloaded file name is powershell_6.0.0-alpha.9-1ubuntu1.16.04.1_amd64.deb

powershell

Now open your terminal. To open terminal click the Dash home from unity launcher.And type terminal in the search field. And click Terminal.

Type the below command in the terminal and hit enter to install the package’s dependencies.

sudo apt-get install libunwind8 libicu55

Type your ubuntu password and hit enter. Then Type the below command hit enter.

sudo dpkg -i ~/Downloads/powershell_6.0.0-alpha.9-1ubuntu1.16.04.1_amd64.deb

Here Downloads is your downloaded file folder and powershell_6.0.0-alpha.9-1ubuntu1.16.04.1_amd64.deb is your file name. You can change these two according to your value.

Also Read:  Install Zrythm Digital Audio Workstation on Ubuntu Linux

To launch PowerShell on ubuntu,In your terminal app and type powershell command to access a PowerShell shell environment. The PowerShell prompt is begin with PS. Now you can ready to run PowerShell commands. To exit from PowerShell Type exit and press enter.

microsoft powershell

PoweShell homepage

If you liked this article, please subscribe to our YouTube Channel. You can also stay connected with us on X (Twitter) and Facebook.



This Post Has One Comment

Leave a Reply