9 lines
300 B
Bash
9 lines
300 B
Bash
|
#!/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
|
||
|
}
|