Last active
February 18, 2020 16:46
-
-
Save det-peralta/09572df575f28d8f289759b8ffd9b987 to your computer and use it in GitHub Desktop.
Instal Visual Studio Code on Ubuntu
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
| #!/usr/bin/env bash | |
| curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > packages.microsoft.gpg | |
| sudo install -o root -g root -m 644 packages.microsoft.gpg /usr/share/keyrings/ | |
| sudo sh -c 'echo "deb [arch=amd64 signed-by=/usr/share/keyrings/packages.microsoft.gpg] https://packages.microsoft.com/repos/vscode stable main" > /etc/apt/sources.list.d/vscode.list' | |
| sudo apt-get install apt-transport-https | |
| sudo apt-get update | |
| sudo apt-get -y upgrade | |
| sudo apt-get install code # or code-insiders | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment