Saturday, January 4, 2025
Google search engine
HomeGuest BlogsInstall Visual Studio Code on Ubuntu 22.04/20.04/18.04

Install Visual Studio Code on Ubuntu 22.04/20.04/18.04

.tdi_3.td-a-rec{text-align:center}.tdi_3 .td-element-style{z-index:-1}.tdi_3.td-a-rec-img{text-align:left}.tdi_3.td-a-rec-img img{margin:0 auto 0 0}@media(max-width:767px){.tdi_3.td-a-rec-img{text-align:center}}

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.

.tdi_2.td-a-rec{text-align:center}.tdi_2 .td-element-style{z-index:-1}.tdi_2.td-a-rec-img{text-align:left}.tdi_2.td-a-rec-img img{margin:0 auto 0 0}@media(max-width:767px){.tdi_2.td-a-rec-img{text-align:center}}

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: LaunchVisual Studio Code on Ubuntu 22.04/20.04/18.04

Launch Visual Studio Code on Ubuntu22.04/20.04/18.04 and enjoying your new Development experience.

install visual studio code ubuntu 18.04 linux mint 19

Also check:

.tdi_4.td-a-rec{text-align:center}.tdi_4 .td-element-style{z-index:-1}.tdi_4.td-a-rec-img{text-align:left}.tdi_4.td-a-rec-img img{margin:0 auto 0 0}@media(max-width:767px){.tdi_4.td-a-rec-img{text-align:center}}

RELATED ARTICLES

Most Popular

Recent Comments