Install Visual Studio Code IDE Easily via Snap in Ubuntu

May 20, 2017 — 4 Comments

Visual Studio Code IDE

MicroSoft’s Visual Studio Code IDE now is super easy to install in Ubuntu 14.04, Ubuntu 16.04, and higher via the Snap package format.

David Callé announced the availability of Visual Studio Code as a Snap a day ago:

Launched in 2015 by Microsoft, Visual Studio Code has imposed itself as one of the preferred code editors in the developer community. Cross-platform (powered by Electron), it features a marketplace of more than 3000 extensions where any language can find its linters, debuggers and test runners.

Visual Studio Code

To install Visual Studio Code in all current Ubuntu releases, simply run command (open terminal via Ctrl+Alt+T):

sudo snap install --classic vscode

That’s it! Installed snaps are automatically refreshed, so you’ll always have the latest release of VS Code installed.

In addition, if you’re first time installing a Snap package in Ubuntu, you need to first install snapd, the service which runs on your machine and keeps track of your installed snaps, via command:

sudo apt install snapd

Like traditional deb packages, the snap version of the software can be launched either from Unity Dash, Gnome application launcher, or other desktop menu, or via command vscode.

Uninstall:

To remove VS Code, run the snap command with remove flag:

sudo snap remove vscode

I'm a freelance blogger who started using Ubuntu 5+ years ago and wishes to share my experiences and some useful tips with Ubuntu beginners and lovers. Please notify me if you find any typo/grammar/language mistakes. English is not my native language. Contact me on Google Plus or email to ubuntuhandbook1@gmail.com

4 responses to Install Visual Studio Code IDE Easily via Snap in Ubuntu

  1. What if we’ve already installed the .deb package from their website and would like to switch to snap, to stay updated? 16.04

    • snap package is independent of the .deb version, you can have the both versions installed on your system.

  2. Thank you for this article but i dont know how to remove it? Plaease help me.

  3. Will there be a major performance difference between snap and native deb installed one?

Leave a Reply

Text formatting is available via select HTML.

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> 

*