install vscode ubuntu command line 1

install vscode ubuntu command line

wget -q https://packages.microsoft.com/keys/microsoft.asc -O- | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main"
sudo apt update
sudo apt install code

Here is what the above code is Doing:
1. Add the GPG key for the official Microsoft repository
2. Add the Microsoft repository to your system
3. Update the package cache and install the package using the apt package manager

Similar Posts