- Published on
How to install Powershell Core on Ubuntu
To install Powershell Core on Ubuntu:
curl https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
curl https://packages.microsoft.com/config/ubuntu/16.04/prod.list | 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:
- Start Powershell by typing
pwsh
- Type
Get-
and pressTAB
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](/_next/image?url=%2Fstatic%2Fimages%2Fblog%2F2018%2F03%2Fhow-to-install-powershell-core-on-ubuntu%2Frunning-powershell-core.png&w=1920&q=75)