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
Precondition
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
following:
curl -sSL https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
The command will issue 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
There he is. Visual Studio Code is installed on the Debian desktop, and you can start using it.
How to Install Microsoft Teams Linux on Ubuntu
How to Install and Configure Ansible AWX on Rocky Linux 8.3 and CentOS 8
Launching Visual Studio Code
VS Code can be launched from the command line by typing code
or by clicking on the VS Code icon (“ Applications
-> Programming
-> 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
Conclusion
We have shown you how to install Visual Studio Code on Debian 10 system or upgrade VS Code. Your next step is to install Additional Components and customize your User and Settings Workspace .
More Related Quick Guide :
How to Install Google Chrome on Ubuntu 20.04 and Ubuntu 21.04
Leave a Reply