Shorten static release script horizontally
This commit is contained in:
parent
761c2035c7
commit
59f0128d27
@ -84,7 +84,8 @@ Add the code-server `bin` directory to your `$PATH` to easily execute `code-serv
|
|||||||
Here is an example script for installing and using a static `code-server` release on Linux:
|
Here is an example script for installing and using a static `code-server` release on Linux:
|
||||||
|
|
||||||
```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-3.3.0
|
sudo mv /usr/local/code-server-3.3.0-linux-amd64 /usr/local/code-server-3.3.0
|
||||||
PATH="/usr/local/code-server-3.3.0/bin:$PATH"
|
PATH="/usr/local/code-server-3.3.0/bin:$PATH"
|
||||||
code-server
|
code-server
|
||||||
|
Loading…
Reference in New Issue
Block a user