Forked from goyalmohit/install-powershell-core-on-ubuntu16.sh
Created
June 11, 2018 15:33
-
-
Save gugadev/e04e787be40ac9ed6a7496f05eb2ab54 to your computer and use it in GitHub Desktop.
Install PowerShell Core on Ubuntu 16.04
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Import the public repository GPG keys | |
curl https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add - | |
# Register the Microsoft Ubuntu repository | |
curl https://packages.microsoft.com/config/ubuntu/16.04/prod.list | sudo tee /etc/apt/sources.list.d/microsoft.list | |
# Update apt-get | |
sudo apt-get update | |
# Install PowerShell | |
sudo apt-get install -y powershell | |
# Start PowerShell | |
powershell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment