Created
August 18, 2021 14:27
-
-
Save galvao/ad23363f1ac4cb97b9c3b2b7b5509e0b to your computer and use it in GitHub Desktop.
Installing VsCode on Fedora
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
#! /usr/bin/bash | |
sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc | |
cat <<EOF | sudo tee /etc/yum.repos.d/vscode.repo | |
[code] | |
name=Visual Studio Code | |
baseurl=https://packages.microsoft.com/yumrepos/vscode | |
enabled=1 | |
gpgcheck=1 | |
gpgkey=https://packages.microsoft.com/keys/microsoft.asc | |
EOF | |
sudo dnf -y update && sudo dnf install code |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment