diff --git a/README.md b/README.md index 28d4ca65b..3a85cb921 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ For a full setup and walkthrough, please see [./doc/guide.md](./doc/guide.md). ### Debian, Ubuntu ```bash -curl -sSOL https://github.com/cdr/code-server/releases/download/3.3.0/code-server_3.3.0_amd64.deb +curl -sSOL https://github.com/cdr/code-server/releases/download/v3.3.0/code-server_3.3.0_amd64.deb sudo dpkg -i code-server_3.3.0_amd64.deb systemctl --user enable --now code-server # Now visit http://127.0.0.1:8080. Your password is in ~/.config/code-server/config.yaml @@ -27,7 +27,7 @@ systemctl --user enable --now code-server ### Fedora, Red Hat, SUSE ```bash -curl -sSOL https://github.com/cdr/code-server/releases/download/3.3.0/code-server-3.3.0-amd64.rpm +curl -sSOL https://github.com/cdr/code-server/releases/download/v3.3.0/code-server-3.3.0-amd64.rpm sudo yum install -y code-server-3.3.0-amd64.rpm systemctl --user enable --now code-server # Now visit http://127.0.0.1:8080. Your password is in ~/.config/code-server/config.yaml @@ -84,7 +84,7 @@ 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: ```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 /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 PATH="$PATH:/usr/local/code-server/bin" code-server diff --git a/doc/guide.md b/doc/guide.md index cc9cdf304..ed131806b 100644 --- a/doc/guide.md +++ b/doc/guide.md @@ -78,7 +78,7 @@ SSH into your instance and run the appropriate commands documented in [README.md Assuming Debian: ```bash -curl -sSOL https://github.com/cdr/code-server/releases/download/3.3.0/code-server_3.3.0_amd64.deb +curl -sSOL https://github.com/cdr/code-server/releases/download/v3.3.0/code-server_3.3.0_amd64.deb sudo dpkg -i code-server_3.3.0_amd64.deb systemctl --user enable --now code-server # Now code-server is running at http://127.0.0.1:8080