
Thanks for using this tutorial for installing the latest version of Visual Studio Code on the Linux Mint system. Once we finish with the installation, we will find Visual Studio Code in the Mint menu, in the Programming section or you can launch it through the terminal with the help of the command shown below: codeĬongratulations! You have successfully installed VS Code. Accessing Visual Studio Code on Linux Mint 21. Processing triggers for desktop-file-utils ( 0.26+mint1+vanessa ). Processing triggers for mailcap ( 3.70+nmu1ubuntu1 ). Processing triggers for shared-mime-info ( 2.1-2 ). Processing triggers for gnome-menus ( 3.36.0-1ubuntu3 ). 363939 files and directories currently installed. Selecting previously unselected package code. The following NEW packages will be installed:Ĭode 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.Īfter this operation, 368 MB of additional disk space will be used. Use 'sudo apt autoremove' to remove them. The following packages were automatically installed and are no longer required: Now start by updating the packages list and install Visual Studio Code stable by using the command below: Next, import the GPG key: sudo wget -O- | gpg -dearmor | sudo tee /usr/share/keyrings/vscode.gpg Now we add the Visual Studio Code repository to your system using the following command: echo deb stable main | sudo tee /etc/apt//vscode.list

Installing Visual Studio Code on Linux Mint 21.īy default, VS Code is not available on the Linux Mint 21 base repository. Sudo apt install software-properties-common apt-transport-https wget ca-certificates gnupg2 Before running the tutorial below, it’s important to make sure your system is up to date by running the following apt commands in the terminal: sudo apt update Install Visual Studio Code on Linux Mint 21 Vanessa

We recommend acting as a non-root sudo user, however, as you can harm your system if you’re not careful when acting as the root. A non-root sudo useror access to the root user.SSH access to the server (or just open Terminal if you’re on a desktop).

It’s recommended that you use a fresh OS install to prevent any potential issues.A server running one of the following operating systems: Linux Mint 21 (Vanessa).
