Merge pull request #1694 from cdr/arch-instructions

Document AUR install instructions
This commit is contained in:
Anmol Sethi 2020-05-19 23:46:39 -04:00 committed by GitHub
commit 2064e88e06
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 17 additions and 0 deletions

View File

@ -33,6 +33,23 @@ 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
``` ```
### Arch
We publish code-server releases to the our [AUR package](https://aur.archlinux.org/packages/code-server/).
Use your favorite AUR helper to install. Ours is [yay](https://github.com/Jguer/yay).
```bash
yay -S code-server
```
Alternatively, build the package yourself from the [Github repo](https://github.com/cdr/code-server-aur).
```bash
git clone https://github.com/cdr/code-server-aur
cd code-server-aur
makepkg -si
```
### yarn, npm ### yarn, npm
We recommend installing with `yarn` or `npm` if we don't have a precompiled release for your machine's We recommend installing with `yarn` or `npm` if we don't have a precompiled release for your machine's