How to Install Visual Studio Code on Ubuntu 20.04
Visual Studio Code is currently available on both Windows, macOS, and Linux. The cross-platform nature is a key factor in the appeal of this toolkit, as it allows developers to not need to switch tools or learn new user interfaces while working on multiple platforms. different operating system platforms.
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
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
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.
To open the application from the command line, simply run the code command.
You should read it
- How to install Visual Studio Code on Windows 10
- 9 extension Visual Studio Code for easier programming
- Visual Studio Code review: Microsoft's cross-platform code editor
- 10 tips for Microsoft's cross-platform code editing tool - Visual Studio Code
- How to Install Visual Studio Code on Arch Linux
- Visual Studio Code now has an extremely useful color picker
- How to Install Visual Studio Using Parallels Desktop on a Mac
- How to create a file to install Visual Studio offline
- Write code in a browser with Microsoft Visual Studio Online
- Microsoft announced the launch of Visual Studio 2019
- Compare 2 Visual Studio Code and Atom editors
- Explore new profile templates in Visual Studio Code
Maybe you are interested
GitHub Copilot is now available for free in VS Code
Latest Sword Master Story Code and How to Enter Code
Latest Roblox Clicker Simulator Codes 12/2024
Ninja Team Code: Ninja Village 3D latest and how to redeem code
Full Giftcode Blue Lock Rivals Roblox latest and how to redeem code
Latest Anime Squad Simulator Codes and How to Enter Codes