If you want to code using Visual Studio Code but you’re using a Chromebook, it’s not a problem at all.

It’s easy to dismiss Chromebooks and while Google’s laptops don’t use an OS on the same scale as Windows 10, but the platform has been maturing over time into something lightweight but still well featured.

And with Chromebooks becoming more and more popular, particularly in the budget space, there are more people looking to do more things with them. And that includes coding. Yes, coding.

Microsoft’s free Visual Studio Code is an incredible piece of software for coding and the good news is that it’s now usable on a Chromebook.

Here’s what you need to know.

Making sure Linux is enabled on your Chromebook

What makes the magic happen is the Crostini Linux container on Chrome OS which will allow you to install the Linux version of Visual Studio Code on your Chromebook.

If you don’t already have that enabled, it’s really straightforward.

  1. Open Settings.
  2. Locate Linux (Beta) in the sidebar.
  3. Click Turn on.

  4. At the next window, click Next.

  5. Give your Linux install a username.
  6. Decide how much space you want to dedicate from your internal storage to it.

  7. Click Install.

The Linux container will now begin to download and install itself on your Chromebook. You’ll know it’s finished when a terminal window pops up and then you can move on to the next step.

How to install Visual Studio Code for Linux on Chrome OS

Once Linux is enabled on your Chromebook getting up and running with Visual Studio Code is beyond simple.

  1. Head to the Visual Studio Code website.
  2. Download the .deb Debian package.

  3. Open the Files app.
  4. Locate the downloaded package.

  5. Right-click and select Install with Linux (Beta).
  6. Click Install.

From here on out you’ll be able to launch Visual Studio Code from the app drawer like any other application on your Chromebook once the Linux installer has finished. You can also launch it from the terminal simply by typing code.

When downloading the installer make sure you grab the right version for your Chromebook. The September 2020 update of Visual Studio Code added support for ARM-based Linux machines, which means you can now use it on devices like the Lenovo Chromebook Duet. If you are on an ARM Chromebook, download the ARM version of the installer, if you’re on an AMD or Intel Chromebook, you want the x64 installer.

The stock install of Visual Studio Code is deliberately barebones and lightweight, so you’ll need to spec it out to your requirements with extensions. Fortunately there’s a host of these both from Microsoft and third-parties that you can install right from within Visual Studio Code. You’re literally a few clicks away from starting to code.