Skip to content

Commit c4021e4

Browse files
committed
Mention Yarn as another installation option
1 parent aa87270 commit c4021e4

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

README.md

+5-4
Original file line numberDiff line numberDiff line change
@@ -33,18 +33,19 @@ systemctl --user enable --now code-server
3333
# Now visit http://127.0.0.1:8080. Your password is in ~/.config/code-server/config.yaml
3434
```
3535

36-
### npm
36+
### yarn, npm
3737

38-
We recommend installing from `npm` if we don't have a precompiled release for your machine's
38+
We recommend installing with `yarn` or `npm` if we don't have a precompiled release for your machine's
3939
platform or architecture or your glibc < v2.19.
4040

41-
**note:** Installing via `npm` builds native modules on install and so requires C dependencies.
41+
**note:** Installing via `yarn` or `npm` builds native modules on install and so requires C dependencies.
4242
See [./doc/npm.md](./doc/npm.md) for installing these dependencies.
4343

4444
You will need at least node v12 installed. See [#1633](https://github.com/cdr/code-server/issues/1633).
4545

4646
```bash
47-
npm install -g code-server
47+
yarn global add code-server
48+
# Or: npm install -g code-server
4849
code-server
4950
# Now visit http://127.0.0.1:8080. Your password is in ~/.config/code-server/config.yaml
5051
```

0 commit comments

Comments
 (0)