-
-
Save davenicoll/f99a2fd4e6d4c802cda9c02e5c71d9c7 to your computer and use it in GitHub Desktop.
Use VSCode (server) in a google cloud shell. or a chromebook.
This file contains 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/code/bin/code-server --auth none --port 8080 |
This file contains 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
cd ~/bin | |
export VERSION=`curl -s https://api.github.com/repos/cdr/code-server/releases/latest | grep -oP '"tag_name": "\K(.*)(?=")'` | |
wget https://github.com/cdr/code-server/releases/download/$VERSION/code-server-$VERSION-linux-x86_64.tar.gz | |
tar -xvzf code-server-$VERSION-linux-x86_64.tar.gz | |
rm code-server-$VERSION-linux-x86_64.tar.gz | |
if [ -L code ] ; then | |
if [ -e code ] ; then | |
rm code | |
fi | |
fi | |
ln -s code-server-$VERSION-linux-x86_64 code |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment