Visual Studio Code is a free source-code editor made by Microsoft for Windows, Linux macOS. Visual Studio Code features include support for debugging, embedded Git control, intelligent code completion, snippets, and code refactoring. Microsoft Visual Studio Code also comes with an extensive extension library that can further add support for dedicated software development and coding to enrich and help develop and use the software.
In the following guide, we will teach you how to install Microsoft Visual Editor on Debian 10, Buster.
Table of Contents
Prerequisites Microsoft Visual Studio
You will need to have root access or a username with sudo privileges to install Microsoft Visual. Also, make sure your Debian 10 operating system is up to date.
sudo apt update && sudo apt upgrade -y
Next, install the dependencies required for Microsoft Visual install.
sudo apt install software-properties-common apt-transport-https curl -y
You will have to import the Microsoft GPG key using the following wget command:
curl -sSL https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
Once the key has been downloaded, install the GPG key and repository.
sudo add-apt-repository "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main"
Install Microsoft Visual Studio
Update your system with the newly added Microsoft Visual repository you have added.
sudo apt update
Next, install Microsoft Visual for Debian 10 Buster. The download is around 293MB.
sudo apt install code
The installation doesn’t take long. Once completed, you have successfully installed Microsoft Visual for Debian 10.
Launching Microsoft Visual Studio
To launch the program, navigate to your Debian 10 application menu.
On the first launch, you will see the following Microsoft Visual Studio Code window. From here, you can optimize the program by installing various extensions and customizing the settings.
Updates for Microsoft Visual Studio
When you installed the Microsoft GPG key and repository, this added the ability to automatically receive updates when you execute the standard system update commands as follows.
sudo apt upgrade && sudo apt upgrade
Comments and Conclusion
The guide has shown you how to install Microsoft Visual Code for Debian 10 Buster and add the repository to update the program without manually re-downloading and installing. Microsoft Visual Code is one of the most used IDE editors on the planet. It is also lightweight and a great option for your system if you are running services and servers instead of using the default Linux text editors such as vim or nano.