Skip to content

Instantly share code, notes, and snippets.

@adlerdias
Last active January 4, 2019 13:28
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 adlerdias/62598b514350cf57dc6f44be41a9825c to your computer and use it in GitHub Desktop.
Save adlerdias/62598b514350cf57dc6f44be41a9825c to your computer and use it in GitHub Desktop.
Ubuntu 18.04: Visual Studio Code

1 Add Visual Studio Code PPA

$ 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/
$ rm rm microsoft.gpg
$ sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main" > /etc/apt/sources.list.d/vscode.list'

2 Installing Visual Studio Code

$ sudo apt-get update
$ sudo apt-get install apt-transport-https code
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment