Install Visual Studio Code on Ubuntu 16.04 | 18.04

Whether you are new to programming or a seasoned programmer, you will need a great code editor to do your job…… and Visual Studio Code is a code editor that combines the simplicity and speed for any developer…..

Go beyond syntax highlighting and autocomplete with IntelliSense, which provides smart completions based on variable types, function definitions, and imported modules… VSC also integrates with Git and other SCM for code lifecycle management….

You can review diffs, stage files, and make commits right from the editor….

This simple editor is available for Windows, Mac OS and Linux… and this brief tutorial is going to show students and new users how to install it on Ubuntu 16.04 | 17.10 | 18.04 desktops…

Whether you’re on a Windows, Mac Linux PC, Visual Studio Code should work and allow you to move between different PC platforms…

When you’re ready to install Visual Studio Code on Ubuntu, follow the steps below:  There are multiple ways to install Visual Studio Code…

Option #1: Install Visual Studio Code DEB Package

To install Visual Studio Code using its DEB package, simply go to this link below and select the .DEB version… 64-bit should be good if your system supports it.. Then download it to your desktop (usually to the Downlaods foldero of your Home directory).

https://code.visualstudio.com/download

Visual Studio Code Ubuntu

Download and save the file to your desktop… usually in the ~/Downloads folder of your Home directory.

Visual code editor

After downloading, navigate to your Downloads folder, then right-click the downloaded file and select Open With Software Install

Ubuntu visual code editor

When Ubuntu Software opens, click Install to begin the installation.

That should prompt you to type and confirm your password before the installation can continue… When you’re done, Visual Studio Code should be installed and ready to use… To launch it, go to the Activities Overview and search Visual Studio Code and launch it.

Ubuntu install visual code

Option #2: Install Visual Studio Code via Snap

If the option above didn’t work for you… you can also install Visual Studio Code via Snap package management….   This might be the quickest way to install Visual Studio Code… Snaps are applications packaged with all their dependencies to run on all popular Linux distributions from a single build. They update automatically and roll back gracefully…

sudo apt install snapd
sudo snap install vscode --classic

That’s it!

Don’t forget to install git…

sudo apt install git

You may also like the post below:

How to use the groupmod command on Ubuntu 16.04 / 18.04 with Examples

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.