Clear, practical technology insights BSOD Code Lookup · Windows Error Code Lookup · Wi-Fi Troubleshooting · PC Troubleshooting Checklist

How to Install Visual Studio Code on Ubuntu 20.04

Learn how to install visual studio code on Ubuntu 20.04 with clear steps, practical tips, and troubleshooting advice for a smoother, more reliable result.

Table of Contents

This practical guide walks through how to install visual studio code on Ubuntu 20.04, explains the main requirements, and highlights common issues that may appear along the way.

Almost all VSCode features are available to all users, no matter what operating system they are using. Up to the basic feature set like debugging, syntax highlighting, auto-completion, embedded Git controls, and even a built-in terminal.

In addition, VSCode also supports many different programming language packs, including JavaScript, TypeScript, and Node.js. A rich set of extensions is available for other languages, like C++, C#, Java, Python, PHP, and Go, as well as runtimes like .NET and Unity.

In this tutorial, we will learn two ways to install Visual Studio Code on Ubuntu 20.04 LTS: using the official Snap package on the Snapcraft store, or downloading the VSCode .deb package from Microsoft.

Install Visual Studio Code via Snap package

Install Visual Studio Code via Snap package — How to Install Visual Studio Code on Ubuntu 20.04

Microsoft now offers the official Visual Studio Code Snap installation package on Canonical's Snapcraft Store.

What are Snaps? They are standalone software packages that include all the components needed to run the application. Snap plans are easy to upgrade and secure. Basically, you can install Snap packages using the Ubuntu Software application or by diving deep into the command line.

To install VS Code, open the Ubuntu Software application and search for the keyword 'Visual Studio Code'.

Alternatively, if you're more comfortable using the command, press Ctrl + Alt + T and run the following command:

sudo snap install code --classic

That's all you need to do to install Visual Studio Code on your system.

What about future updates? You need not worry because new versions of Visual Studio Code are automatically downloaded and installed in the background when available.

Install Visual Studio Code using the .deb . package

Install Visual Studio Code using the .deb . package — How to Install Visual Studio Code on Ubuntu 20.04

Microsoft currently maintains an apt repository for Linux users to install Visual Studio Code from here.

You can manually add the Visual Studio Code apt code repository with the command. But a quicker way to set it up on your system is to download and install the VSCode Linux package from the app's website. As part of the installation, the apt repository will be added to your Software Sources list.

Download Visual Studio Code (64-bit .deb) here

Once the download is complete, navigate to the Downloads folder (or the location you chose to save the installer) and double-click the .deb file. Ubuntu Software will open. Click the "install" button.

When a new version is released, you can update the Visual Studio Code package (along with any other updates you have) using Ubuntu's Software Updater tool.

Open Visual Studio Code

To open VSCode on Ubuntu, simply click on the 'Applications' icon at the bottom of the Ubuntu Dock. In the search bar, enter the keyword 'Visual Studio Code' and when the application icon appears, click on it to open it.

Open Visual Studio Code — How to Install Visual Studio Code on Ubuntu 20.04

To open the application from the command line, simply run the code command.

Key Takeaways

Use the information above as a practical reference for how to install visual studio code on Ubuntu 20.04. Review each step carefully, confirm any requirements, and choose the option that best fits your situation.

FAQ

What does this guide explain about Install Visual Studio Code on Ubuntu 20.04?

It explains the main concepts, practical considerations, and useful steps related to install visual studio code on Ubuntu 20.04 without requiring advanced knowledge.

Who can benefit from learning about Install Visual Studio Code on Ubuntu 20.04?

This information is useful for readers who want a clear overview, practical guidance, and reliable steps related to install visual studio code on Ubuntu 20.04.

What should I check before applying this information?

Review the requirements, confirm that your device, software, or situation matches the instructions, and back up important data before making major changes.

Discussion

Reader Comments 0

Sign in with email or Google to join the discussion.