How to Install Visual Studio Code on Ubuntu Linux

willian justen de vasconcellos hPcF0UCpNhs unsplash scaled
willian justen de vasconcellos hPcF0UCpNhs unsplash scaled

This text guides students and new users through the process of installing and using Microsoft Visual Studio Code (VS Code) on Ubuntu Linux. As an open-source, cross-platform, feature-rich code editor, VS Code offers syntax highlight and Git control, among others. The guide advises enabling the VS Code repository and installing its package using a command-line interface. Various commands are shared to help users set up VS Code successfully.

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 supports Git control, syntax highlight, and code completion. Also, it combines simplicity and speed for any developer looking to build great applications across different platforms.

The easiest way to install VS Code on Ubuntu Linux is to enable the VS Code repository and install its package 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 https://packages.microsoft.com/keys/microsoft.asc -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] https://packages.microsoft.com/repos/vscode 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. Next, navigate to your desktop apps and search for them.

That should do it!

Conclusion:

This post showed you how to install and use VS code on Ubuntu Linux. Please use the comment form below if you find any errors above or have something to add.

Posted by
Richard

I love computers; maybe way too much. What I learned I try to share at geekrewind.com.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.