Skip to content

Instantly share code, notes, and snippets.

@linuxbiekaisar
Created April 29, 2020 10:13
Show Gist options
  • Save linuxbiekaisar/b431f7809743de4c2cb5106a69310a47 to your computer and use it in GitHub Desktop.
Save linuxbiekaisar/b431f7809743de4c2cb5106a69310a47 to your computer and use it in GitHub Desktop.
How to install VSCode in Ubuntu 20.04 LTS using terminal
# Youtube:
# !/bin/sh
## To install VSCode in Ubuntu 20.04 LTS use the following codes:
# Enable Package Repository
echo "deb [arch=amd64] http://packages.microsoft.com/repos/vscode stable main" | sudo \
tee /etc/apt/sources.list.d/vs-code.list
# Install Visual Studio Code Editor
curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
sudo mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg
sudo apt-get update
sudo apt-get install code
# Now enjoy using VSCode by launching it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment