Install Visual Studio Code on Debian 10
Today, we cover How to Install Visual Studio Code on Debian 10 Buster or update exiting VS Code; Visual Studio Code is an open-source, cross-platform code editor created by Microsoft. Visual Studio offers built-in debugging assistance, controls Git incorporated, syntax highlighting, code completion, integrated terminal, code refactoring, and snippets.
The quickest and recommended approach to install Visual Studio Code on Debian 10 is to activate the VS Code repository and install the VS Code package using the command line.
This guide describes installing the Visual Studio Code editor on Debian 10 Buster. And Update VS Code on Debian 10
Precondition
To install Visual Studio Code on Debian 10, you must be signed in as a user with Sudo access.
Install Visual Studio Code on Debian 10
The quickest and recommended approach to install Visual Studio Code on a Debian 10 system is to activate the VS Code repository and install the VS Code package using the command line:
Start by updating the package index and installing dependencies by typing:
sudo apt update
sudo apt install software-properties-common apt-transport-HTTP curl
Import the Microsoft GPG key using the command curl following:
curl -SSL https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
The command will produce an output OK.
Add the Visual Studio Code repository to your system:
sudo add-apt-repository "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main"
Install the Visual Studio Code package with:
sudo apt update sudo apt install code
Visual Studio Code is installed on the Debian desktop, and you can start using it.
Launching Visual Studio Code
VS Code may be opened from the command line by typing code or by clicking on the VS Code icon (“ Applications -> Programming -> Visual Studio Code”).
You may now start adding extensions and customizing VS Code according to your preferences.
How to Update Visual Studio Code
When a new version of Visual Studio Code is published, you may update the package using the Software Update tool via Desktop or by typing the following command in a terminal:
sudo apt update && sudo apt upgrade
Conclusion
We have taught you how to install Visual Studio Code on Debian 10 system or update VS Code. Your next step is to install Additional Components and personalize your User and Settings Workspace.