From 783dfe0a149e347f7dee0d56d59a006f8c93e56a Mon Sep 17 00:00:00 2001 From: Anmol Sethi Date: Sun, 17 May 2020 20:32:04 -0400 Subject: [PATCH] Fix typo in installation docs --- README.md | 6 +++--- doc/guide.md | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 28d4ca65..3a85cb92 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 cc9cdf30..ed131806 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