Skip to content

Instantly share code, notes, and snippets.

@zenius
Last active June 3, 2019 17:31
Show Gist options
  • Save zenius/2b23fbccd1ade4472ff04e214ccfa2c6 to your computer and use it in GitHub Desktop.
Save zenius/2b23fbccd1ade4472ff04e214ccfa2c6 to your computer and use it in GitHub Desktop.
https://code.visualstudio.com/docs/setup/linux
The repository and key can be installed manually with the following script:
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'
Then update the package cache and install the package using:
sudo apt-get install apt-transport-https
sudo apt-get update
sudo apt-get install code
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment