Published on

How to install Powershell Core on Ubuntu

To install Powershell Core on Ubuntu:

curl | sudo apt-key add -
curl | sudo tee /etc/apt/sources.list.d/microsoft.list
sudo apt-get update
sudo apt-get install -y powershell

To verify the installation completed successfully:

  1. Start Powershell by typing pwsh
  2. Type Get- and press TAB

If things went well you should see a lot of familiar CmdLets ready for use on your Linux server ;)

Powershell CmdLets on your Ubuntu Server