Last active
June 24, 2018 17:24
-
-
Save hedlund/d6d5ef435d4b6d020183be5057c544bb to your computer and use it in GitHub Desktop.
This file contains hidden or 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
#!/bin/bash | |
# Add vscode repository | |
curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg | |
sudo mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg | |
sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main" > /etc/apt/sources.list.d/vscode.list' | |
# Update package cache | |
sudo apt-get update | |
# Install some apps & libraries | |
sudo apt-get install -y libgtk2.0-0 libxss1 libasound2 | |
sudo apt-get install -y code |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment