This post shows students and new users steps to install and use Microsoft Visual Studio Code (vs code) on Ubuntu Linux. Visual Studio Code is an open-source cross-platform, feature-rich code editor developed by Microsoft.
VS code comes with built-in support for Git control, syntax highlight, code completion and also combines simplicity and speed for any developers looking to build great applications across different platforms.
The easiest was to install VS Code on Ubuntu Linux is to enable the VS Code repository and install its package from there using the command line interface.
Below, we’ll show you how to do that when using Ubuntu Linux.
How to install VS Code on Ubuntu Linux
As mentioned above, Visual Studio Code is an open-source cross-platform, feature-rich code editor developed by Microsoft.
Below is how to install VS code on Ubuntu Linux:
First, run the commands below to install some dependencies on Ubuntu Linux.
sudo apt install gnupg2 software-properties-common apt-transport-https wget
After installing the packages above, run the commands below to import VS code repository GPG key to
wget -q -O- | sudo apt-key add -
Next, run the commands below to install VS code repository on Ubuntu Linux.
sudo add-apt-repository "deb [arch=amd64] stable main"
Once the repository is installed, run the commands below to install VS code in Ubuntu Linux.
sudo apt update sudo apt install code
VS code should now be installed on Ubuntu Linux. Navigate to your desktop apps and search for it.
That should do it!
This post showed you how to install and use VS code on Ubuntu Linux. If you find any error above or have something to add, please use the comment form below.