Use /usr/local instead of /opt in self contained release example
This commit is contained in:
parent
10b06cae10
commit
d7234029e6
@ -79,8 +79,9 @@ Add the code-server `bin` directory to your `$PATH` to easily execute it without
|
|||||||
Here is an example script for installing and using a self-contained code-server release on Linux:
|
Here is an example script for installing and using a self-contained code-server release on Linux:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
curl -sSL https://github.com/cdr/code-server/releases/download/3.3.0/code-server-3.3.0-linux-amd64.tar.gz | sudo tar -C /opt -xz
|
curl -sSL https://github.com/cdr/code-server/releases/download/3.3.0/code-server-3.3.0-linux-amd64.tar.gz | sudo tar -C /usr/local -xz
|
||||||
PATH="$PATH:/opt/code-server-3.3.0-linux-amd64/bin"
|
sudo mv /usr/local/code-server-3.3.0-linux-amd64 /usr/local/code-server
|
||||||
|
PATH="$PATH:/usr/local/code-server/bin"
|
||||||
code-server
|
code-server
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user