Skip to content

Instantly share code, notes, and snippets.

@geekbass
Last active April 8, 2024 15:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save geekbass/3ab5ff3fde31dc57548f631f6a1c5bb2 to your computer and use it in GitHub Desktop.
Save geekbass/3ab5ff3fde31dc57548f631f6a1c5bb2 to your computer and use it in GitHub Desktop.
Installing VSCode on ChromeOS Linux Beta
#!/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