Installing Visual Studio Code in Ubuntu

Rate this post
Installing Visual Studio Code in Ubuntu
Installing Visual Studio Code in Ubuntu

If you’re a programmer, you’re probably already aware with the intricacies and powers of Visual Studio Code.

Here’s how to install Visual Studio Code on Ubuntu and comparable distributions. For those who are unfamiliar with Visual Studio Code, here is a brief overview of its build capabilities.

What Is Visual Studio Code?

Microsoft Visual Studio Code, as the name implies, is a Microsoft-powered open-source code editor. End users get a plethora of debugging features, including embedded Git control, syntax highlighting, code completion, code refactoring, an integrated terminal, and snippets.

As a platform, Visual Studio Code works well with Windows, macOS, and even Linux.

There are three popular methods for installing Visual Studio Code on Ubuntu. The first way is to use the snap package to install it from the terminal. The second method is to utilize APT in conjunction with Microsoft’s package repository. These repositories are designed exclusively for Linux users.

In the third way, you simply utilize the desktop’s graphical user interface to install applications on your machine. If you can’t decide between VS Code and Atom, look at this comparison.

1. Installing the VS Code Snap Package Through the Ubuntu Terminal

Microsoft is the only maintainer and updater of the Linux snap package for Visual Studio Code. This way, you can always be certain that you are purchasing high-quality software.

  Why isn't my computer turning on? Here's How to Repair It

Snap must be installed on your system as a precondition. For those who are unfamiliar, here is a quick overview of the Snap Store and how to install Snap on Linux.

Snaps may be installed through the command line or using Ubuntu Software.

To begin installing the Visual Studio Code snap package, use the terminal and enter the following command:

sudo snap install 

This is all; once installed, you can launch Visual Studio Code from the console or the programs menu. VS Coding comes with a slew of useful features, including real-time code collaboration.

2. Installing VS Code Using APT on Ubuntu

You may also install Visual Studio Code using Microsoft’s repository and Ubuntu’s default package manager, APT.

First, use the following commands to update all of the packages on your system:

sudo apt update
sudo apt upgrade -y

Power users can also issue this code in one single line:

sudo apt update && sudo apt upgrade -y

After you’ve updated and upgraded the packages, you’ll need to install the requirements for adding the repository. In your terminal, enter the following command:

sudo apt install software-properties-common apt-transport-https wget

Then, use wget to import Microsoft’s GPG key:

wget -q https:

Run the following command to activate the VS Code repository:

sudo add-apt-repository "deb [arch=amd64] stable main"

Once the repository is enabled, all that remains is to install the software package using:

sudo apt install code

To update your existing VS Code version to the most recent available version, use the following update/upgrade commands:

sudo apt update && sudo apt upgrade -y

This will detect the most recent versions and upgrade your current version to the most recent release. Check out some crucial Visual Studio Code productivity tips to get the most out of it after it’s installed.

  Making Word Clouds using the Word Art Online Tool

3. Installing Visual Studio Code Using the GUI

You may also install Microsoft Visual Studio Code from the desktop’s graphical user interface. If you dislike using the terminal, installing the program through the desktop environment is your next best alternative.

Launch the Ubuntu Software program from the applications menu to install Visual Studio Code. Enter Code and choose the first result. Then, choose Install.

When the installation is finished, you may launch Visual Studio Code from the terminal or the programs menu.

Using VS Code for the First Time

After installation, when you launch VS Code on your Ubuntu system, you will get the following screen:

  What Should You Do If You Aren't Receiving Snapchat Notifications?

If everything seems to be in order, you may install the extensions and customize the editor to your liking. Here are some excellent Visual Studio Code addons that increase your productivity.

Writing Code With Visual Studio Code in Ubuntu

You now know how to install Visual Studio Code on Ubuntu, and as you can see, the procedure is rather straightforward. Given the numerous methods for installing packages, you may select and choose one at your leisure so that you can download and use the program whenever you like.

As a Linux user, you have access to many code editors than only Visual Studio Code. You may try out different editors to see which one works best for you.

You are looking for information, articles, knowledge about the topic Installing Visual Studio Code in Ubuntu on internet, you do not find the information you need! Here are the best content compiled and compiled by the team, along with other related topics such as: How To.

Related videos about Installing Visual Studio Code in Ubuntu


Similar Posts