Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit cf887ab

Browse files
authoredMay 19, 2020
Merge branch 'master' into faq
2 parents 520d8e6 + 6421206 commit cf887ab

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed
 

‎README.md

Lines changed: 5 additions & 4 deletions
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
```

‎ci/build/build-release.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ EOF
7373

7474
# We remove the scripts field so that later on we can run
7575
# yarn to fetch node_modules if necessary without build scripts running.
76-
# We cannot use --no-scripts because we still want dependant package scripts to run.
76+
# We cannot use --no-scripts because we still want dependent package scripts to run.
7777
jq 'del(.scripts)' < "$VSCODE_SRC_PATH/package.json" > "$VSCODE_OUT_PATH/package.json"
7878
}
7979

‎doc/guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ If you want to make the SSH port forwarding persistent we recommend using
136136
[mutagen](https://mutagen.io/documentation/introduction/installation).
137137

138138
```
139-
# Same as the above SSH command but runs in the background continously.
139+
# Same as the above SSH command but runs in the background continuously.
140140
# Add `mutagen daemon start` to your ~/.bashrc to start the mutagen daemon when you open a shell.
141141
mutagen forward create --name=code-server tcp:127.0.0.1:8080 <instance-ip>:tcp:127.0.0.1:8080
142142
```

0 commit comments

Comments
 (0)
Please sign in to comment.