Skip to content

Instantly share code, notes, and snippets.

@Himura2la
Last active October 15, 2019 13:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Himura2la/ef6b49fcb0a6377375e94ae53b574363 to your computer and use it in GitHub Desktop.
Save Himura2la/ef6b49fcb0a6377375e94ae53b574363 to your computer and use it in GitHub Desktop.
Install PowerShell on Debian-based distro (based on downloaded sources.list)
sudo apt-get update
sudo apt-get install -y wget gnupg apt-transport-https
wget -qO- https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
sudo wget -qO /etc/apt/sources.list.d/microsoft.list https://packages.microsoft.com/config/$(. /etc/os-release && echo $ID/$VERSION_ID)/prod.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