How to Install Visual Studio Code on Debian

VS code installation on debian

Table of Contents

How to Install Visual Studio Code on Debian


Microsoft’s Visual Studio Code is a source code editor for Windows, Linux, and Mac. Besides offering code editing functions, it offers additional tools like debugging, running tasks, and version control. Visual Studio Code allows you to open, edit, and compile code quickly, making it ideal for everyday use. Supporting a variety of languages, you can quickly get started with Visual Studio Code’s syntax highlighting, bracket matching, automatic indentation, box selection among other features. It qualifies as an integrated development environment, allowing developers to test and write code at the same time. Get started with Visual Code and make sure your work is flawless. Let’s begin with the installation process.





For Debian systems to be registered with VPSie, you need to create a VPSie account if you don’t have one already.

 

 

Our example is based on an Debian instance with GUI installed. Here is a link that will guide you to installing Debian GUI if you do not already have it installed.

 

 

 

 

Now open your terminal and run the following commands to update your system.

 

 

# apt-get update && apt-get upgrade -y

 

 

 

 

 

Download VS-code Package :

 

 

 

 

 

 

Visit the official website for the latest Package. You can see the .deb package and download it.

 

 

 

 

VS code installation on debian





Install Vs-code :

 

 

 

 

 

Navigate to the downloaded folder in terminal and execute the following commands:

 

# cd Downloads/

 



Run the command to check the file name:


# ls

 


Now run the following command to install the vs-code(change the command with your filename):


# sudo dpkg -i code_1.66.2-1649664567_amd64.deb


VS code installation on debian




can Verify that the icon for VScode is created on the Application menu and open it. 





VS code installation on debian




If you have trouble opening from the application menu, try running the following command as sodoer instead of root.


# sudo code --verbose --user-data-dir --no-sandbox






The first thing you should do is customize your VS-code account once you’ve opened it. I’m not doing anything at the moment.

VS code installation on debian
VS code installation on debian
VS code installation on debian




Now you can use the Vs code, it has been successfully installed on your Debian instance. We hope you enjoyed this article.



Share on
Facebook
Twitter
LinkedIn
Print