Ubuntu

How to install Visual Studio Code on Ubuntu 16.10, 17.04

Visual Studio Code is a developer-friendly code editor from Microsoft. Yes, the same Microsoft that I’m not really a big fan of. The editor is supposed to be really nice, with built-in support for Git, JavaScript, TypeScript and Node.js. Plus it’s open source, with the code hosted at this GitHub repository.

For those times when I need to look at code, I mostly use Sublime Text, but for the next few weeks or months, I’ll be trialling Visual Studio Code. But first I had to install it. This post shows how I did it on Ubuntu 16.10. Same method works on Ubuntu 17.04.

Installation packages for Visual Studio Code are not in the official Ubuntu repository, but there are binary installation packages that you may download from the project’s download page. Another avenue for installation is via snaps, universal packages that work across Linux distributions.

Related Post:  Install Godot game engine on Fedora or Ubuntu

Install Visual Studio Code from .deb file

To start with this method, download the .deb file from here and save it to your downloads folder. Then use the following command to install it:

After installation has completed, start it from the launcher.

Install Visual Studio Code from snap

Installing Visual Studio Code from snap requires that the snapd service be running, which is the default on Ubuntu. Use the following commands to install it:

After installation has completed using this method, launch it from the command line by typing the vscode command. Started from the command line or from the launcher will get you a main window like that in Figure 1. In may ways, Visual Studio Code is just like the Atom editor, though it appears to be a lot more resource-friendly.

Visual Studio Code
Figure 1: Main interface of Visual Studio Code

Visual Studio Code
Figure 2: Rookie Ruby code in Visual Studio Code

Visual Studio Code ships with dozens of extensions. I’ll report back over the next few months on any issues I find while using this application.

Visual Studio Code extensions
Figure 3: Visual Studio Code extensions

Subscribe to LinuxBSDos.com

Subscribe to receive the latest articles in your Inbox

Trust me, you'll not be spammed...

Please share:

We Recommend These Vendors and Free Offers

Launch an SSD VPS in Europe, USA, Asia & Australia on Vultr's KVM-based Cloud platform starting at $5:00/month (15 GB SSD, 768 MB of RAM).

Deploy an SSD Cloud server in 55 seconds on DigitalOcean. Built for developers and starting at $5:00/month (20 GB SSD, 512 MB of RAM).

Want to become an expert ethical hacker and penetration tester? Request your free video training course of Online Penetration Testing and Ethical Hacking

Whether you're new to Linux or are a Linux guru, you can learn a lot more about the Linux kernel by requesting your free ebook of Linux Kernel In A Nutshell.


Leave a Comment

Your email address will not be published. Required fields are marked *

*