Archived
1
0

Improve static install script

This commit is contained in:
Anmol Sethi 2020-05-17 20:36:10 -04:00
parent 783dfe0a14
commit c33a4651c9
No known key found for this signature in database
GPG Key ID: 8CEF1878FF10ADEB

View File

@ -85,8 +85,8 @@ Here is an example script for installing and using a static `code-server` releas
```bash ```bash
curl -sSL https://github.com/cdr/code-server/releases/download/v3.3.0/code-server-3.3.0-linux-amd64.tar.gz | sudo tar -C /usr/local -xz curl -sSL https://github.com/cdr/code-server/releases/download/v3.3.0/code-server-3.3.0-linux-amd64.tar.gz | sudo tar -C /usr/local -xz
sudo mv /usr/local/code-server-3.3.0-linux-amd64 /usr/local/code-server sudo mv /usr/local/code-server-3.3.0-linux-amd64 /usr/local/code-server-3.3.0
PATH="$PATH:/usr/local/code-server/bin" PATH="/usr/local/code-server-3.3.0/bin:$PATH"
code-server code-server
# Now visit http://127.0.0.1:8080. Your password is in ~/.config/code-server/config.yaml # Now visit http://127.0.0.1:8080. Your password is in ~/.config/code-server/config.yaml
``` ```