Today, we learn 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 developed by Microsoft. Visual Studio has built-in debugging support, controls Git embedded, syntax highlighting, code completion, integrated terminal, code refactoring, and snippets.
The easiest and recommended way to install Visual Studio Code on Debian 10 is to enable the VS Code repository and install the VS Code package via the command line.
This tutorial explains how to install the Visual Studio Code editor on Debian 10 Buster. And Update VS Code on Debian 10
To install Visual Studio Code on Debian 10, you must be logged in as a user with sudo privileges.
Install Visual Studio Code on Debian 10
The easiest and recommended way to install Visual Studio Code on a Debian 10 system is to enable the VS Code repository and install the VS Code package via 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-https curl
Import the Microsoft GPG key using the command
curl -sSL https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
The command will issue an output
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
There he is. Visual Studio Code is installed on the Debian desktop, and you can start using it.
Launching Visual Studio Code
VS Code can be launched from the command line by typing
codeor by clicking on the VS Code icon (“
Visual Studio Code”).
When you start VS Code for the first time, a window like the following will appear:
You can now start installing extensions and configuring VS Code according to your preferences.
How to Update Visual Studio Code
When a new version of Visual Studio Code is released, you can update the package via the Software Update tool standard Desktop or by running the following command in a terminal:
sudo apt update && sudo apt upgrade
More Related Quick Guide :