Question: How to Install Visual Studio Code on Ubuntu 22.04/20.04/18.04?. This guide will help with the installation of Visual Studio Code on Ubuntu 22.04/20.04/18.04. Visual Studio Code is a popular code editor redefined and optimized for building and debugging modern web and cloud applications. The Visual Studio Code is developed by Microsoft and can run on Windows, Linux and macOS operating systems.

Visual Studio Code is available on the apt repository for installing on Ubuntu 22.04/20.04/18.04. You just need to add the repository and install the package.

Step 1: Add Visual Studio Code repository and key:

Update package repository list:

sudo apt update
sudo apt install apt-transport-https software-properties-common

Import Microsoft APT repository GPG key:

curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
sudo install -o root -g root -m 644 microsoft.gpg /etc/apt/trusted.gpg.d/

Download and install repository and GPG key.

sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main" > /etc/apt/sources.list.d/vscode.list'

Step 2: Install Visual Studio Code on Ubuntu 22.04/20.04/18.04

Next step is to update apt index and install Visual Studio Code on Ubuntu 22.04/20.04/18.04:

sudo apt update && sudo apt install code

Step 3: Launch Visual Studio Code on Ubuntu 22.04/20.04/18.04

Launch Visual Studio Code on Ubuntu 22.04/20.04/18.04 and enjoying your new Development experience.

install visual studio code ubuntu 18.04 linux mint 19

Also check:

YOU CAN SUPPORT OUR WORK WITH A CUP OF COFFEE


As we continue to grow, we would wish to reach and impact more people who visit and take advantage of the guides we have on our blog. This is a big task for us and we are so far extremely grateful for the kind people who have shown amazing support for our work over the time we have been online.

Thank You for your support as we work to give you the best of guides and articles. Click below to buy us a coffee.

LEAVE A REPLY

Please enter your comment!
Please enter your name here