Update AUR docs

Closes #1634
This commit is contained in:
Anmol Sethi
2020-05-20 01:16:41 -04:00
parent 2064e88e06
commit 0d207f4f9a
2 changed files with 14 additions and 9 deletions

View File

@@ -33,21 +33,22 @@ systemctl --user enable --now code-server
# 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).
### Arch Linux
```bash
# Installs code-server from the AUR using yay.
yay -S 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
```
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
# Installs code-server from the AUR with plain makepkg.
git clone https://aur.archlinux.org/code-server.git
cd code-server
makepkg -si
systemctl --user enable --now code-server
# Now visit http://127.0.0.1:8080. Your password is in ~/.config/code-server/config.yaml
```
### yarn, npm