Visual Studio CodeSource: Windows Central

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.

Save big on these VPN services ahead of Black Friday

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.

    Linux on Chrome OSSource: Windows Central

  4. At the next window, click Next.

    Linux on Chrome OSSource: Windows Central

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

    Linux on Chrome OSSource: Windows Central

  7. Click Install.

    Linux on Chrome OSSource: Windows Central

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

Visual Studio CodeSource: Windows Central

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.

    Visual Studio CodeSource: Windows Central

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

    Visual Studio CodeSource: Windows Central

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

    Visual Studio CodeSource: Windows Central

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.

We may earn a commission for purchases using our links. Learn more.