Install PowerShell on Linux Mint

powershell on linux mint

It’s almost hard to believe, but Microsoft has made PowerShell open source and is now available for users to install Powershell on Linux and Mac OS X machines. In this quick post I’ll show how you can easily install PowerShell on Linux Mint 18.

How to Install PowerShell on Linux Mint 18

You can now easily install Powershell by simply adding the Microsoft repository and then using apt-get to install!

  1. First lets adding the Microsoft keys and repository by typing the following:
    curl | sudo apt-key add -
    curl | sudo tee /etc/apt/sources.list.d/microsoft.list

    linux powershell register repository

  2. Now we’ll need to update apt-get and then install Powershell by typing the following:
    sudo apt-get update
    sudo apt-get install powershell -y

    linux powershell apt-get update install

That’s it, PowerShell is now installed on Linux Mint 18.

Simply type: pwsh to start PowerShell!
powershell on linux

You’ll see there isn’t a ton available at the moment, but it’s a start nonetheless and you can bet it’s only going to grow as development continues. Be sure to check out the PowerShell GitHub page for much more information.

Similar Posts