Archived
1
0

Fix typo in installation docs

This commit is contained in:
Anmol Sethi 2020-05-17 20:32:04 -04:00
parent b9f43c3542
commit 783dfe0a14
No known key found for this signature in database
GPG Key ID: 8CEF1878FF10ADEB
2 changed files with 4 additions and 4 deletions

View File

@ -18,7 +18,7 @@ For a full setup and walkthrough, please see [./doc/guide.md](./doc/guide.md).
### Debian, Ubuntu ### Debian, Ubuntu
```bash ```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 sudo dpkg -i code-server_3.3.0_amd64.deb
systemctl --user enable --now code-server systemctl --user enable --now 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
@ -27,7 +27,7 @@ systemctl --user enable --now code-server
### Fedora, Red Hat, SUSE ### Fedora, Red Hat, SUSE
```bash ```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 sudo yum install -y code-server-3.3.0-amd64.rpm
systemctl --user enable --now code-server systemctl --user enable --now 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
@ -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: 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/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 sudo mv /usr/local/code-server-3.3.0-linux-amd64 /usr/local/code-server
PATH="$PATH:/usr/local/code-server/bin" PATH="$PATH:/usr/local/code-server/bin"
code-server code-server

View File

@ -78,7 +78,7 @@ SSH into your instance and run the appropriate commands documented in [README.md
Assuming Debian: Assuming Debian:
```bash ```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 sudo dpkg -i code-server_3.3.0_amd64.deb
systemctl --user enable --now code-server systemctl --user enable --now code-server
# Now code-server is running at http://127.0.0.1:8080 # Now code-server is running at http://127.0.0.1:8080