Skip to content

Instantly share code, notes, and snippets.

@styk-tv
Last active January 27, 2023 12:43
Show Gist options
  • Save styk-tv/6613afde1001f2106a50c63a685578c7 to your computer and use it in GitHub Desktop.
Save styk-tv/6613afde1001f2106a50c63a685578c7 to your computer and use it in GitHub Desktop.
ubu22 visual studio code
USING SNAP (on path automatically)
sudo snap install --classic code
USING APT
sudo apt install software-properties-common apt-transport-https wget gpg
wget -qO- https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > packages.microsoft.gpg
sudo install -D -o root -g root -m 644 packages.microsoft.gpg /etc/apt/keyrings/packages.microsoft.gpg
sudo sh -c 'echo "deb [arch=amd64,arm64,armhf signed-by=/etc/apt/keyrings/packages.microsoft.gpg] https://packages.microsoft.com/repos/code stable main" > /etc/apt/sources.list.d/vscode.list'
sudo apt update
sudo apt install code
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment