Dark is the default and is the most popular, but the tutorial white will be chosen to change the default.Ĭlick Mark Done on the bottom left-hand side. However, this isn’t practical, and you would use the following path on the desktop to open with the path: Applications > Search > Visual Studio Code. First, while you are in your terminal, you can use the following command: codeĪlternatively, run the code command in the background to free up the terminal: code & With the installation complete, you can run Visual Studio in a few different ways. To confirm the installation, you can use the verify version command as follows: code -version Now install Visual Studio with the following command: sudo apt install code To do this, run the following command in your terminal: sudo apt update With the source repository sorted, you must refresh your apt package manager sources list to reflect the new addition before the Visual Studio installation. Secondly, import the Microsoft Visual Source Repository with the following command your terminal: sudo add-apt-repository "deb stable main" Install Visual Studio Code Import GPG Key and Visual Studio Repositoryįirst, you will need to import the Microsoft GPG key to verify the authenticity of the installation package: wget -q -O- | sudo apt-key add. These are the most common software packages found on nearly all Linux distributions. If you are unsure, run the command it will not harm you. sudo apt install software-properties-common apt-transport-https curl wget -y To complete the installation, you will need to install the following software packages by using the following command in your terminal. sudo apt update & sudo apt upgrade -y Install Dependecies How to Remove (Uninstall) Visual Studio Codeįirstly, it is advised to update your system to make sure all existing packages are up to date.Import GPG Key and Visual Studio Repository.