Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save yu-hant/6d5b4579afae9639c2eb8da0311869fc to your computer and use it in GitHub Desktop.
Save yu-hant/6d5b4579afae9639c2eb8da0311869fc to your computer and use it in GitHub Desktop.
Install Visual Studio Code in Ubuntu

Install Visual Studio Code in Ubuntu

sudo apt update
sudo apt install -y software-properties-common apt-transport-https wget
sudo wget -q https://packages.microsoft.com/keys/microsoft.asc -O /usr/share/keyrings/microsoft.asc
sudo sh -c 'echo "Types: deb\nURIs: https://packages.microsoft.com/repos/vscode/\nSuites: stable\nComponents: main\nSigned-By: /usr/share/keyrings/microsoft.gpg" > /etc/apt/sources.list.d/vscode.sources'
sudo apt update
sudo apt install -y code
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment