


Visual Studio Code is available in the official Microsoft Apt repositories. Whenever a new version is released, the Visual Studio code pack will automatically update in the background. If you prefer to use a GUI, open the Ubuntu software, search for “Visual Studio Code” and install the application. Visual Studio Code has been installed on your Ubuntu machine. Whereas, for Linux Mint 20 see this tutorial- Enable Snapd on Linux Mint 20.That’s it. sudo apt install codeĪs we know on the Ubuntu system we already have snap out of the box, however, those who have not can use the command: sudo apt install snapd Command to Install VS Code on Ubuntu Linuxįinally, run the command to install the latest visual studio code packages on your Ubuntu Linux system.To let the system know about the newly added repo by refreshing the cache, simply run the system update command: sudo apt update stable main" > /etc/apt//vscode.list' rm -f

wget -qO- | gpg -dearmor > sudo install -o root -g root -m 644 /etc/apt// sudo sh -c 'echo "deb \ Add GPG key & Microsoft Visual Studio code repositoryĪdd the GPG key that will ensure to the system the packages we will get from the vscode repo are from the original source without any alteration.You can visit the application launcher to run the terminal or use the keyboard shortcut Ctrl+Alt+T.

Including Linux Mint, Elementary OS, MX Linux, POP! OS, Debian, and other similar Linux versions. The below-given steps or ways will work for all the Ubuntu versions such as 21.04/20.04/18.04 and other supported versions by Canonical. deb file Ways to install Visual studio code in Ubuntu Linux Visual Code Studio installation on Ubuntu Linux using.
