Skip to main content

Your submission was sent successfully! Close

Thank you for signing up for our newsletter!
In these regular emails you will find the latest updates from Canonical and upcoming events where you can meet our team.Close

Thank you for contacting us. A member of our team will be in touch shortly. Close

  1. Blog
  2. Article

David Callé
on 19 May 2017

Visual Studio Code is now available as a snap on Ubuntu


There is a new desktop snap in the Snap store: Visual Studio Code.

A versatile and open source code editor

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.

To install Visual Studio Code as a snap:

sudo snap install --classic vscode

How has VS Code made such a splash in the development world?

After barely two years, this editor has found a place in a lot of tool belts, on Linux too. To explain this success, here are some notable highlights:

  • smart completion based on types and functions
  • a versatile integrated debugger
  • git built-in support with an approachable user interface for git commands
  • and of course, extensions support

Git integration in Visual Studio Code features delightful commit (and reverts!) management.

To make the experience more familiar, you can emulate keyboard shortcuts of other editors by installing alternative keymaps, such as Vim, Emacs, Sublime, etc.

Available as a snap for an agile release process

It’s not the first code editor featured in this Electron snaps blog series, and if you have been reading the other entries, you already know why snaps are a good fit for Electron distribution on Linux: auto-updates, ease of installation and dependency bundling.

This snap makes the latest version of Visual Studio Code easily installable and auto-updatable on Ubuntu 14.04, 16.04 and newer supported releases, goodbye 3rd party PPAs and general package hunting!

Releases for everyone and releases for testers

Snaps allow developers to release software in different “channels”, that users subscribe to (defaulting to the stable channel), in order to receive automated updates.

Four channels are available, with names hinting at the stability users can expect:

  • edge is for QA, testers and adventurous adopters
  • beta is where versions from the edge channel are moved to when they pass some level of testing and QA
  • candidate is commonly used for freezed pre-release versions
  • stable is what users install by default (the snap install <snap name> command without any options) and is expected to only contain stable software. This is also the channel that enables snaps to appear in search results of the snap find command.

For a primer on using the snap command-line, this tutorial will show you the way.

Related posts


Canonical
1 July 2025

Chiseled Ubuntu containers for OpenJRE 8, 17 and 21

Cloud and server Article

Today we are announcing chiseled containers for OpenJRE 8, 17 and 21 (Open Java Runtime Environment), coming from the OpenJDK project. These images are highly optimized for size and security, containing only the dependencies that are strictly necessary. They are available for both AMD64 and ARM64 architectures and benefit from 12 years of ...


Canonical
1 July 2025

Introducing Canonical builds of OpenJDK

Canonical announcements Article

Java has long been the most popular language for software development in large enterprises, with 90% of Fortune 500 companies using it for backend development, particularly in industries like finance, healthcare, and government.  Java developers, more than most, are tasked with balancing the implementation of new features against the crit ...


Canonical
9 May 2025

New 50 TOPS DC-ROMA RISC-V AI PC ships with Ubuntu Desktop 24.04 LTS pre-installed 

AI Article

Canonical is excited to announce the launch of DeepComputing’s new 50 TOPS DC-ROMA RISC-V AI PC and AI PC Mini with Ubuntu Desktop 24.04 LTS pre-installed. The PC was launched in collaboration with Framework and is powered by ESWIN’s advanced RISC-V AI SoC EIC7702X—featuring 8 SiFive’s high-performance P550 CPU cores .  Built on the DC-RO ...