Install Visual Studio Code on Ubuntu as a Snap
There are two main options for installing Visual Studio Code on Ubuntu Linux.
- Add an MS repo and install with apt
- Install as a snap
Here we show you how to install as a snap.
- NOTE - Both Snap and VS Code are seen as controversial to some Linux users.
Just run this command:
sudo snap install --classic code
Once it is installed you can launc Visual Studio Code by typing the following in a terminal:
code
You could also just launch it from an application launcher.