How to install Visual Studio Code on Ubuntu, Debian, Linux Mint

Published: 05 May 2023
on channel: Linux For Life
215
0

To install Visual Studio Code on Ubuntu, Debian, or Linux Mint, you can follow the steps below:

Open the terminal by pressing Ctrl+Alt+T or searching for "Terminal" in the applications menu.
Update the package list by running the command sudo apt update.
Install the prerequisites by running the command sudo apt install software-properties-common apt-transport-https.
Import the Microsoft GPG key by running the command wget q https://packages.microsoft.com/keys/m... -O | sudo apt-key add -.
Add the Visual Studio Code repository to the sources list by running the command sudo add-apt-repository "deb [arch=amd64] https://packages.microsoft.com/repos/... stable main".
Update the package list again by running the command sudo apt update.
Install Visual Studio Code by running the command sudo apt install code.
After the installation is complete, you can launch Visual Studio Code by searching for it in the applications menu or by running the command code in the terminal.

Note: These steps may vary slightly depending on the version of Ubuntu, Debian, or Linux Mint you are using.


Watch video How to install Visual Studio Code on Ubuntu, Debian, Linux Mint online without registration, duration hours minute second in high quality. This video was added by user Linux For Life 05 May 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 215 once and liked it 0 people.