Created
December 29, 2017 12:49
-
-
Save gpsarkar/0c4c97cd65c28b53f683854ffae7b16a to your computer and use it in GitHub Desktop.
Install VS Code on CentOS
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
// RHEL, Fedora and CentOS based distributions | |
sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc | |
sudo sh -c 'echo -e "[code]\nname=Visual Studio Code\nbaseurl=https://packages.microsoft.com/yumrepos/vscode\nenabled=1\ngpgcheck=1\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc" > /etc/yum.repos.d/vscode.repo' | |
yum check-update | |
sudo yum install code |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment