Skip to content

Instantly share code, notes, and snippets.

@Korsinemi
Forked from SilentJungle399/init.sh
Last active August 5, 2021 01:12
Show Gist options
  • Save Korsinemi/0ffa84ee5764bad421620f7a208484c8 to your computer and use it in GitHub Desktop.
Save Korsinemi/0ffa84ee5764bad421620f7a208484c8 to your computer and use it in GitHub Desktop.
Run an instance of Visual Studio Code on any cloud platform
if [[ ! -d code-server-3.11.0-linux-amd64 ]]
then
wget https://github.com/cdr/code-server/releases/download/v3.9.3/code-server-3.11.0-linux-amd64.tar.gz
tar xvzf code-server-3.11.0-linux-amd64.tar.gz
fi
cd code-server-3.11.0-linux-amd64/bin
# ./code-server --install-extension extension.id
./code-server --bind-addr 0.0.0.0:8080 --auth password
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment