

To enable the Visual Studio code Apt repository, type: echo "deb stable main" | sudo \ Microsoft team provides an repository for the Debian packages installation.

To import gpg key, type: curl | gpg -dearmor > microsoft.gpg sudo mv microsoft.gpg /etc/apt//microsoft.gpg So, we are providing the installation methods using the Debian package first.įirst of all, Import the GPG key to your system to verify packages before installation. The Ubuntu 18.04 does not have the Snap tool installed. Choose one of the below methods as per your choice. Visual Studio Code is available as the Snap package as well official apt repository with the Debian package. You must have Ubuntu Dekstop installed on your system. Login to your Ubuntu 18.04 system with sudo privileged account.

This tutorial will help you to install Visual Studio Code on Ubuntu 18.04 LTS Linux system using Apt package manager and using snap package. The Visual Studio Code is freely available for most modern operating systems like Windows, Linux (RPM and Debian installations are also available), and macOS. It includes features like embedded Git, supports debugging, 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.
