This tutorial provides instructions for installing Visual Studio Code on Ubuntu. While the steps outlined here may work for other versions of Ubuntu (and some non-Ubuntu Linux distributions), these instructions were tested against Ubuntu 24.04 LTS.
code
installationBefore starting this tutorial, ensure that ...
Visual Studio Code (VS Code) is a free and extensible cross-platform code editor released by Microsoft.
In your VM, open your web browser (ex. Firefox), and paste the following link:
Click on the appropriate option to the right of .deb
(either x64 for AMD64 or Arm64 for ARM64).arm64` (ARM64) to download VS Code.
.deb
file. Install
and confirm.Install
button's text will change to Installed
and the button will be disabled.There are two main ways to start Visual Studio Code.
Click the Show Apps
button in the bottom left-hand corner of the Dash (or the horizontal line icon at the top of the Dash) and type vscode in the search box that appears. Click on the VS Code icon to launch the application.
Open your terminal and type code
:
code
This should launch VS Code.
For easy access, you can pin Visual Studio Code to the Dash by right clicking on its icon in the dash and selecting Pin to Dash.