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
- 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
May be interested
- Linux 5.1.3 Released, Officially Supports Apple M1 Chipsetit can be said that the appearance of the m1 chip in apple products launched from the end of 2020 until now has created important and far-reaching changes in the technology world in general, both in terms of hardware and technology. software.
- What is GRUB bootloader?the bootloader is one of the most important components of the linux operating system booting process.
- Steps to install Zoom on Ubuntu 20.04zoom is increasingly becoming one of the world's most commonly used online conferencing applications, especially in the context of the need to work remotely, working from home is still a popular trend. globally.
- Nvidia shakes hands with Valve to bring the DLSS experience to Linuxgood news for linux gamers using valve's proton compatibility engine to run windows games: nvidia just announced that it's stepping up its partnership with valve to bring fps boost through technology. dlss available on rtx gpus to linux environments.
- Steps to install OpenStack on Ubuntu 18.04 using DevStackdevstack is a set of extensible scripts that facilitate openstack deployments. in this tutorial you will learn how to deploy openstack on ubuntu 18.04 using devstack.
- How to Install and Configure Tmux for Linuxif you constantly switch between terminals and can't find the right window when you need it, consider using a multiplexer. these are programs that allow users to run multiple terminal sessions inside a single window.