
Now, The Visual Studio Code has been installed on your Ubuntu 20.04 system.
Once you successfully added the repository to your system, Execute the following commands to install Visual Studio Code on Ubuntu system. To enable the Visual Studio code Apt repository, type: echo "deb stable main" | sudo \ Microsoft team provides an repository for the Debian packages installation. Sudo mv microsoft.gpg /etc/apt//microsoft.gpg To import gpg key, type: curl | gpg -dearmor > microsoft.gpg
Method 2 – How to Install VS Code with PPAįirst, Import the GPG key to your system to verify packages before installation. But if you already have installed using snap tool, skip next method. Next method will instruct you to install visual studio code using the apt package manager. The snap package has been installed on your system. Once the installation completed successfully, you will see the following output. It will download the eclipse IDE snap package and install on your machine. So just execute the below command on your system terminal: sudo snap install code -classic The snap package contains all the requirements for any application. Method 1 – How to Install VS Code using Snap. So, we are providing installation method with snap tool first. The Ubuntu 20.04 LTS preferred to use snap tool instead of Apt for packages installation. For the newly installed systems, required to complete initial server setupĬhoose one of the below methods to install Visual Studio Code on your Ubuntu system. Login to Ubuntu as sudo privileged user. Prerequisitesīefore continuing for Visual Studio Code installation on Ubuntu 20.04: This tutorial will help you to install Visual Studio Code editor on Ubuntu 20.04 using Apt repository as well as the snap tool.
The Visual Studio Code is freely available for most modern operating systems like Windows, Linux (RPM and Debian installation are also available), and macOS.
It includes features like embedded Git, supports debugging features, syntax highlighting, intelligent code completion, snippets, and code refactoring. Visual Studio Code is an optimized, feature-rich code editor for building web and cloud applications.