Skip to content

Instantly share code, notes, and snippets.

View yu-hant's full-sized avatar
🎯
Focusing on nothing

Sean Chang yu-hant

🎯
Focusing on nothing
  • Taiwan
View GitHub Profile

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