Debian

How to Install Visual Studio Code on Debian 12

Note: Insert a hyperlink on the highlighted phrases (in yellow) for easier access.

Visual Studio Code needs no introduction. It is one of the best programming editors or IDEs (Integrated Development Environments).

In this article, we will show you how to download and install the Visual Studio Code on Debian 12.

Topic of Contents:

  1. Downloading the Visual Studio Code Installer for Debian 12
  2. Installing Visual Studio Code on Debian 12
  3. Running the Visual Studio Code on Debian 12
  4. Keeping Visual Studio Code Up-to-Date
  5. Conclusion

Downloading the Visual Studio Code Installer for Debian 12

To download the Visual Studio Code package installer for Debian 12, visit the official website of Visual Studio Code from your favorite web browser.

Once the page loads, click on the “.deb” download button as marked in the following screenshot:

A screenshot of a computer Description automatically generated

Your browser should start downloading the Visual Studio Code package installer. It takes a few seconds to complete.

A screenshot of a computer Description automatically generated

At this point, the Visual Studio Code package installer should be downloaded.

A screenshot of a computer Description automatically generated with medium confidence

Installing Visual Studio Code on Debian 12

You should find the downloaded Visual Studio Code package installer in the ~/Downloads directory of your Debian 12 machine.

$ ls -lh ~/Downloads

A screenshot of a computer Description automatically generated with medium confidence

Before you install the Visual Studio Code package, update the APT package repository database with the following command:

$ sudo apt update

A screenshot of a computer Description automatically generated with medium confidence

To install the downloaded Visual Studio Code package, run the following command:

$ sudo apt install ~/Downloads/code_1.79.2-1686734195_amd64.deb

Visual Studio Code is being installed. It takes a few seconds to complete.

A screenshot of a computer Description automatically generated

At this point, Visual Studio Code should be installed on Debian 12.

A screenshot of a computer Description automatically generated

Running the Visual Studio Code on Debian 12

Once Visual Studio Code is installed on Debian 12, you can start it from the “Application” menu of Debian 12. Just search for the term “code” and click on the Visual Studio Code app icon.

A screen shot of a computer Description automatically generated with medium confidence

Visual Studio Code should be opened.

A screenshot of a computer Description automatically generated

Keeping Visual Studio Code Up-to-Date

Microsoft releases new versions of Visual Studio Code quite frequently. So, you will want to keep Visual Studio Code on Debian 12 up-to-date. If you need any assistance on that, read the article on How to Update Visual Studio Code on Debian 12.

Conclusion

We showed you how to download Visual Studio Code on Debian 12. We also showed you how to install Visual Studio Code on Debian 12.

About the author

Shahriar Shovon

Freelancer & Linux System Administrator. Also loves Web API development with Node.js and JavaScript. I was born in Bangladesh. I am currently studying Electronics and Communication Engineering at Khulna University of Engineering & Technology (KUET), one of the demanding public engineering universities of Bangladesh.