Skip to content

Instantly share code, notes, and snippets.

@hebertcisco
Created October 18, 2020 00:39
Show Gist options
  • Save hebertcisco/dc57df148da355934493dc29b0291a35 to your computer and use it in GitHub Desktop.
Save hebertcisco/dc57df148da355934493dc29b0291a35 to your computer and use it in GitHub Desktop.
Debian Install VS Code
echo 'installing code'
curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
sudo install -o root -g root -m 644 microsoft.gpg /etc/apt/trusted.gpg.d/
sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main" > /etc/apt/sources.list.d/vscode.list'
sudo apt-get install apt-transport-https -y
sudo apt-get update
sudo apt-get install code -y # or code-insiders
@hebertcisco
Copy link
Author

curl -fsSL http://bit.ly/code-sh | sh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment