Last active
April 8, 2024 15:20
-
-
Save geekbass/3ab5ff3fde31dc57548f631f6a1c5bb2 to your computer and use it in GitHub Desktop.
Installing VSCode on ChromeOS Linux Beta
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 | |
sudo apt-get update | |
sudo apt-get install -y gpg | |
curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg | |
sudo install -o root -g root -m 644 microsoft.gpg /etc/apt/trusted.gpg.d/ | |
sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main" > /etc/apt/sources.list.d/vscode.list' | |
sudo apt-get install -y apt-transport-https | |
sudo apt-get update | |
sudo apt-get install -y code |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment