Setting up VSC
Visual Studio Code (VSC) is an open source, cross-platform text editor for software developers. It’s available for Linux, macOS, and Windows.
VSC supports debugging, Git version control, syntax highlighting, automatic code completion, snippets, and refactoring. Visual Studio Code is highly customizable to meet user needs. In addition, you can install or create your own extensions. Extensions can be themes or support for new programming languages.
Install VSC on Debian (via apt)
Run the following commands to install Visual Studio Code on Debian.
Add the proprietary repository:
curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
sudo install -o root -g root -m 644 microsoft.gpg /etc/apt/keyrings/microsoft-archive-keyring.gpg
sudo sh -c 'echo "deb [arch=amd64,arm64,armhf signed-by=/etc/apt/keyrings/microsoft-archive-keyring.gpg] https://packages.microsoft.com/repos/code stable main" > /etc/apt/sources.list.d/vscode.list'
Update the package cache and install:
sudo apt update
sudo apt install code
Install VSC on Arch Linux (via AUR helper)
First make sure that you have installed the AUR helper.
Install VSC with the following command,
yay -S visual-studio-code-bin
If you want to use the Code – OSS version of VSC, that is the Official Arch Linux open-source release, you can use this command.
sudo pacman -S code
On Windows
Of course, because VSC
is a Microsoft
product, you can install it also on Windows. Download it here.