How to install Microsoft Visual Studio Code on Linux

Visual Studio Code is a free and open source as well as a cross-platform text editor with the ability to customize the editor including changing the layout, icons, fonts, and color scheme.

Programming enables the creation of the rich applications and programs that we use every day. Programmers create their projects in an environment using the text editor. Since most programmers prefer Linux, there are several text editors on Linux.

Geany, JED, Brackets, Atom, and of course the war of Vim and Emacs, are few to name. Today, we will review the Visual Studio Code, made by Microsoft. It is a feature-filled text editor, with many configuration options and features. Let’s go through it.

Microsoft Visual Studio Code Features

1. Productive Interface

Code Interface
Code Interface

The interface is strikingly similar to that of Atom, which implies that Microsoft is aiming for a similar experience for people who have used other editors before.

Visual Studio Code window
Visual Studio Code window

Atom window
Atom window

2. IntelliSense

Microsoft has presented a new element, named IntelliSense. Syntax highlighting and auto-completion are quite ordinarily available in most text editors. But Microsoft takes it a step further with IntelliSense by providing smart completion according to different variable types, such as methods, functions, classes, variables, etc.

It also recommends code as you write, saving you a bunch of time. The editor also provides Function, definitions, and imported modules. All this makes it easier for the programmers to get the work done faster, and possibly even in a better than they would have thought. All this requires the extension of the language necessary to be installed.

3. Debugging

Are you still using Print statement debugging with your current text editor? With Visual Studio code, you can put an end to the Print statement. Debugging code is possible right from the Visual Studio code editor. Launch or attach to your running apps and debug with breakpoints, call stacks, and you get an interactive console, all at one place.

3. Built-in Git

The editor has Git built-in so that you do not have to make a fuss for committing your code to your repository. You can efficiently manage the version of your program. After setting up, committing requires no commands, just a click of the mouse.

4. Customization Options

Microsoft has provided a great set of options for customization, which can make the newer environment of the editor more similar, and let the users find their comfortable state. Some of the major options are:

  • Tools and Languages

    Users can install support modules and IntelliSense configurations for different programming languages, like JavaScript, Python, PHP, etc. As mentioned earlier, IntelliSense helps programmers make better code, faster.

    Tools and languages
    Tools and languages
  • Settings and keybindings

    Visual Studio Code enables users to install the keyboard shortcuts of other editors, so that they can get to work ASAP, without having to adapt to the rules of a new editor.

    Settings and keybindings
    Settings and keybindings
  • Color theme

    Users can install themes based on their preferences to make the editor more comfortable for themselves.

    Color themes
    Color themes

5. Learning options

Microsoft hasn’t only provided a lot of features, but also a built-in teacher for all those features. Its existence is appreciative as a large number of features do require some guidance. Referring to the internet to know about a feature repeatedly is inconvenient. The options include:

  • Command search

    Even while providing an option to use other editors’ commands, Visual Studio Code does give options on its own. And a lot of options, for that matter. It is made more accessible to learn and search, with a menu explicitly created for the purpose. The GIF below shows the commands provided by the editor:

    Command search
    Command search

    It contains all commands for debugging, extension management, file operations, Git commands, searching, preferences, terminal settings, changing window view, workspace management, help, and even more things.

  • Interface Overview

    The editor provides a one-click option to view what each button on the main window does.

    Interface overview
    Interface overview
  • Interactive Editor Playground

    It is another ‘teacher-feature’ of the editor. But unlike others, it is not a guide, but a complete tutorial. Users can interactively learn by trying out the special features of the editor. All the important features of the editor exist in this ‘playground’. Categories are shown in the image below:

    Interactive Editor Playground
    Interactive Editor Playground

Install Microsoft Visual Studio Code

On Ubuntu, Linux Mint, Debian, Fedora, and derivatives

The installation is pretty simple. The program is available for Linux in .deb, .rpm and .tar.gz packages. Visit this link to get the packages.

  • .deb: Ubuntu and its derivatives, Debian and its derivatives, Linux Mint, etc.
  • .rpm: Red Hat, Fedora and its derivatives, SUSE, and its derivatives, etc.
  • .tar.gz: Installation package if the above packages do not match your requirements.

Installation on Linux Mint
Installation on Linux Mint

Install Microsoft Visual Studio Code as a Snap app on other Linux Distros

Microsoft Visual Studio Code is also available as a Snap app, which makes the installation across a multitude of GNU/Linux distributions a breeze. With snap enabled on your computer, launch the Terminal and fire the following command to install Visual Studio Code.

sudo snap install code --classic


Visual Studio Code is a great program not only for experts but also for beginners. The massive number of controls and configurations may seem a bit intimidating at first, but after using it for a while, users will get the hang of it. It has a great interface and is very efficient for programming.

Let us know what you think about it in the comments. Cheers!

Pulkit Chandak
Pulkit Chandak is a Linux enthusiast and has been using and experimenting with open source software and hardware too since a long time. He is a huge admirer of open source software and wants to ventilate it to all around him. He is interested in reviewing and writing tutorials on Linux and its many distributions. He believes that freedom in software leads to freedom of the mind from the chains of limits.


  1. Microsoft’s very well documented method of removing a competitor: Embrace, Extend, Extinguist.

    Never allow yourself to be seduced by the dark side – Microsoft’s plan is to OWN Linux and make it proprietary. FOSS? No, they want to kill FOSS forever and force you to live in their highly-regulated cloud.

    • frozenJim, the FOSS community is not that weak. Even if Microsoft does attempt that, it will not be able to accomplish it, for sure. And more importantly, a major point of FOSS is that the users should be able to use whatever they want to. If you want to use it or not is up to you, but its existence as an option is very important.

Leave a Reply to frozenJim Cancel reply

Please enter your comment!
Please enter your name here




How to install Lightworks on Ubuntu

Even though Linux may not get a native installer of video editing software like Adobe Premiere or Final Cut Pro, that doesn't mean there are no industry standards tools available. Lightworks is non-linear editing (NLE) video mastering app for Windows, Linux, and macOS. Installing it on Ubuntu is simple due to deb package availability.

How to install DaVinci Resolve on Fedora

Davinci Resolve is a professional application used for color correction, video editing, visual effects, and motion graphics. It is one of the extensively used software by movie industries located in Hollywood.

The 10 Best Programming Languages for Hacking

One of the significant entities we have in Cyber Security is Ethical Hacking (ETH). It is the process of detecting and finding flaws or vulnerabilities in a system that a hacker would exploit.

5 Ways to Open a Terminal in Ubuntu

Even though Ubuntu supports many applications with amazing Graphical User Interfaces (GUI), there are always reasons why users prefer using the Terminal to perform different tasks.

How to install Wine on Fedora Workstation

Linux distributions are becoming more and more popular every day, and Fedora Workstation is not left behind. This popularity brings forth the need to run Windows applications on Linux distros like Fedora. Windows has quite some excellent Software that is not available for Linux.

How to download and install iTunes on Linux

iTunes has always been a convenient platform for downloading, organizing, playing, and syncing media between your Apple devices. It also gives users a large pool of media to buy or stream millions of songs using Apple Music.


Linux is growing faster than ever. As per the latest report, there is a drop in the Windows 10 market share for the first time, and Linux's market share has improved to 2.87% this month. Most of the features in the list were rolled out in the Pop OS 20.04. Let's a detailed look into the new features, how to upgrade, and a ride through video.
Elementary OS 5.1 Hera has received a point release with a handful of new features and bug fixes, and we will be reviewing the significant changes in this article. For those new to elementary OS, this Ubuntu-based Linux distribution uses their inhouse built Pantheon desktop environment and AppCenter.

Linux Mint vs. Ubuntu – which is best for you?

The conundrum is that which one among them? The best solution is to try both of them out, and then choose whatever seems to work the best for your needs. But here, we're giving you some distinctions between the both that might make it easier for you to make a choice.

5 ways to check if a Port is open on a remote Linux PC

There is an ample number of ways to check for any open ports on a remote Linux PC. Knowing open ports on a Linux machine helps system administrators to connect to the remote PC for troubleshooting system and cloud server issues.

Top 5 reasons to switch from Windows to Linux right now

Do you love Windows or Linux? Being on a Linux website, it's not hard to take a guess, but what are the strong reasons to switch to Linux? Linux is a 100% free OS. Is that reason alone enough? Let's find out! Never have there been more compelling reasons to make the switch. Here are just five great reasons for users to create that magical move from the wayward world of Windows to the lauded land of Linux.

Manjaro ‘Gellivara’ XFCE Edition (17.0.5) in 10 Screenshots

Want to take a quick virtual tour Manjaro XFCE edition instead of downloading GBs worth of ISO image and then making a Live USB of it? We will make it easy for you. Here are a series of screenshots of the important aspects of Manjaro Linux in XFCE edition. This is a light-weight edition, and aims to be fast and low on system resources. You will be amazed on how it is still visually appealing and user friendly.