Question #6902   Submitted by Answiki on 10/13/2022 at 07:11:18 PM UTC

How to install Visual Studio Code on Ubuntu 22.04?

Answer   Submitted by Answiki on 10/13/2022 at 07:14:15 PM UTC

There are three ways to install Visual Studio Code on Ubuntu 18.04, 20.04 or 22.04


Option 1: Ubuntu Software : the best method is to use Ubuntu Software, since Visual Studio Code is in the list of packages.

Option 2: package .deb : download the package at the following address: https://code.visualstudio.com/Download. Then install the package with this command:

sudo dpkg -i ~/Downloads/code_*.deb; sudo apt -f install


Option 3: snap : install Visual Studio Code with snap (same as Ubuntu Software) :

sudo snap install vscode 

5 events in history
Question by Answiki 10/13/2022 at 07:15:19 PM
How to install Visual Studio Code on Ubuntu 18.04?
Question by Answiki 10/13/2022 at 07:15:12 PM
How to install Visual Studio Code on Ubuntu 20.04?
Answer by Answiki on 10/13/2022 at 07:14:15 PM

There are three ways to install Visual Studio Code on Ubuntu 18.04, 20.04 or 22.04


Option 1: Ubuntu Software : the best method is to use Ubuntu Software, since Visual Studio Code is in the list of packages.

Option 2: package .deb : download the package at the following address: https://code.visualstudio.com/Download. Then install the package with this command:

sudo dpkg -i ~/Downloads/code_*.deb; sudo apt -f install


Option 3: snap : install Visual Studio Code with snap (same as Ubuntu Software) :

sudo snap install vscode 

Answer by Answiki on 10/13/2022 at 07:14:04 PM

There are three ways to install Visual Studio Code on Ubuntu 18.04, 20.04 or 22.04


Option 1: Ubuntu Software : the best method is to use Ubuntu Software, since Visual Studio Code is in the list of packages.