Created
April 29, 2020 10:13
-
-
Save linuxbiekaisar/b431f7809743de4c2cb5106a69310a47 to your computer and use it in GitHub Desktop.
How to install VSCode in Ubuntu 20.04 LTS using terminal
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Youtube: | |
# !/bin/sh | |
## To install VSCode in Ubuntu 20.04 LTS use the following codes: | |
# Enable Package Repository | |
echo "deb [arch=amd64] http://packages.microsoft.com/repos/vscode stable main" | sudo \ | |
tee /etc/apt/sources.list.d/vs-code.list | |
# Install Visual Studio Code Editor | |
curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg | |
sudo mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg | |
sudo apt-get update | |
sudo apt-get install code | |
# Now enjoy using VSCode by launching it. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment