Last active
October 15, 2019 13:17
-
-
Save Himura2la/a23e06ac4d66bbbea567dae9aa524e5d to your computer and use it in GitHub Desktop.
Install PowerShell on Debian-based distro (based on official docs)
This file contains hidden or 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
sudo apt-get update | |
sudo apt-get install -y wget gnupg apt-transport-https lsb-release | |
wget -qO- https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add - | |
echo "deb [arch=amd64] https://packages.microsoft.com/repos/microsoft-$(. /etc/os-release && echo $ID)-$(lsb_release -sc)-prod $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/microsoft.list | |
sudo apt-get update | |
sudo apt-get install -y powershell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment