How to Install Visual Studio Code on Debian 12

Last updated on September 24th, 2023 at 10:05 am.

How to install VS Code on Debian 12 - Visual Studio #Code #Linux via #APT

Watch the video above for a step by step guide to install VS code in Debian 12 / 11.

VS Code installation steps

  1. Search for Visual Studio Code: To begin, open your browser and search for “Visual Studio Code” in your preferred search engine. Or go directly to the VS code website.
  2. Download the Deb Package: On the Visual Studio Code site, click on the official download link. Debian uses the “.deb” package . Download the appropriate package for your Debian 12 system.
  3. Locate the Downloaded File and open terminal: Since you are on Debian desktop, you can simply navigate to the location of your downloaded VS Code file and Open the Terminal window from there, as shown in the video above. Right click and look for an option like “Open Terminal Here.” This will open a terminal window in the current directory.
  4. Install Visual Studio Code: In the terminal, enter the following command to install Visual Studio Code using the “deb” package via apt:
   sudo apt install ./code*.deb

Make sure to replace “code.deb” with the actual name of the downloaded package if it’s different.

Enter Your Sudo Password: When prompted, enter your sudo password to authorize the installation using apt.

Verify Installation: Once the installation is complete, you can verify that Visual Studio Code has been installed by checking your application menu. It’s typically found under the “Development” category. The exact location may vary depending on your desktop environment. In the video, I used XFCE as the desktop environment.

Open Visual Studio Code to ensure the installation was successful


Congratulations! You have successfully installed VS Code on your Debian 12 computer. You can install it in the same manner on Ubuntu or any other Debian based distros, If you encounter any issues or have questions, feel free to ask for assistance.

That’s it for this step-by-step VS Code installation guide. If you have any further questions or need additional help, please don’t hesitate to reach out.

Video captions for the above video

We’re just going to Google VS Code, and I’ll click on “Download.”

Debian will use the “deb” package, so download the package that you need from there.

Download it and then open where the file was downloaded. Mine is inside “Downloads.” I can open the terminal from here. Let’s increase the font size of this.

Here, I can just do “sudo apt install.”

And then I will give it the name of the downloaded file, “code.deb,” and then I’ll just press Tab to auto-complete the name.

Press Enter, enter your sudo password.

It is installed. If I come here, and I go to “Development,” I’m going to see Visual Studio Code. So, I’m using XFCE desktop; that’s why mine probably doesn’t look like yours. But XFCE is very lightweight; that’s why I like to use it. So, I’m just going to open Visual Studio Code to ensure that it has been installed.

There we go, there we go. I’ll just click on the next section to see what’s next, or you can mark it as done. In my case, let me just create a new text file. There we go.


You can open a folder.

There you go, you now have Visual Studio installed on your computer. That’s it for this video. If you have any questions, let me know.

Comment Here

Need WordPress help? Linux Server help? Talk to us.

  • We are your own WordPress customer service.
  • We set up Linux servers and install or migrate WordPress. Learn more here.
  • We support WooCommerce too.
  • Check out our WordPress customer support plans here or contact us below .

If you have any questions regarding WordPress support, Linux server support or any of our services, feel free to reach out or read more on our services page.

Join this free course:

How to host multiple WordPress
websites on a VPS

Close me!