sh_linux_installation_scripts/common/redhat/apps/vscode.sh

9 lines
300 B
Bash
Raw Normal View History

2021-11-24 09:41:28 +01:00
#!/bin/bash
install_vscode() {
echo "Installing VS Code"
curl -sSL https://packages.microsoft.com/keys/microsoft.asc | sudo dnf-key add -
sudo add-dnf-repository "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main"
sudo dnf update
sudo dnf install code -y
}