How to Install Visual Studio Code on Ubuntu 20.04
We hope this post helped you to find out How to Install Visual Studio Code on Ubuntu 20.04
Visual Studio Code is a robust open-source code editor developed by Microsoft. It has built-in debugging assist, embedded Git management, syntax highlighting, code completion, built-in terminal, code refactoring, and snippets.
Visible Studio Code Core is cross-platform, out there on Home windows, Linux, and macOS.
This information reveals two methods of putting in Visible Studio Code on Ubuntu 20.04. VS Code might be put in as a snap bundle by way of the Snapcraft retailer or as a deb bundle from Microsoft repositories.
Select the set up methodology that’s most acceptable in your surroundings.
Stop 1. Installing in Visible Studio Code as a Snap Package deal #
Visible Studio Code snap bundle is distributed and maintained by Microsoft.
Snaps are self-contained software program packages that embody the binary all dependencies wanted to run the applying. Snap packages are simple to improve and safe. In contrast to the usual deb packages, snaps have bigger disk footprint and longer utility startup time.
Snap packages might be put in from both the command-line or by way of the Ubuntu Software program utility.
To put in the VS Code snap, open your terminal (
Ctrl+Alt+T) and run the next command:
sudo snap install --classic code
That’s it. Visible Studio Code has been put in in your Ubuntu machine, and you can begin utilizing it.
When you choose utilizing a GUI, open Ubuntu Software program and seek for “Visible Studio Code” and set up the applying:
At any time when a brand new model is launched, Visible Studio Code bundle will likely be robotically up to date within the background.
Stop 2. Installing in Visible Studio Code with
Visible Studio Code is obtainable from the official Microsoft Apt repositories. To put in it, observe the steps beneath:
Stop 3. Update the packages index and install the dependencies by running the following command as a user with sudo privileges:
sudo apt update
sudo apt install software-properties-common apt-transport-https wget
Stop 4. Import the Microsoft GPG key using the following
wget -q https://packages.microsoft.com/keys/microsoft.asc -O- |
sudo apt-key add -And
enable the Visual Studio Code repository by typing:
sudo add-apt-repository "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main"
Stop 6. Once the apt repository is enabled, install the Visual Studio Code package:
sudo apt install code
Stop 7. When a new version is released you can update the Visual Studio Code package through your desktop standard Software Update tool or by running the following commands in your terminal:
sudo apt update
sudo apt upgrade
Stop 8. Starting Visual Studio Code #
Within the Actions search bar sort “Visible Studio Code” and click on on the icon to launch the applying.
Once you begin VS Code for the primary time, a window like the next ought to seem:
Now you can begin putting in extensions and configuring VS Code in accordance with your preferences.
VS Code can be launched from the command line by typing
We’ve defined set up VS Code on Ubuntu 20.04.
Now you can begin putting in new extensions and customizing your workspace. To be taught extra about VS Code go to their official documentation web page.
We hope the How to Install Visual Studio Code on Ubuntu 20.04 help you. If you have any query regarding How to Install Visual Studio Code on Ubuntu 20.04 drop a comment below and we will get back to you at the earliest.
We hope this post helped you to find out How to Install Visual Studio Code on Ubuntu 20.04 . You may also want to see – How to Install Python Pip on Ubuntu 20.04