File tree Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -33,18 +33,19 @@ systemctl --user enable --now code-server
33
33
# Now visit http://127.0.0.1:8080. Your password is in ~/.config/code-server/config.yaml
34
34
```
35
35
36
- ### npm
36
+ ### yarn, npm
37
37
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
39
39
platform or architecture or your glibc < v2.19.
40
40
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.
42
42
See [ ./doc/npm.md] ( ./doc/npm.md ) for installing these dependencies.
43
43
44
44
You will need at least node v12 installed. See [ #1633 ] ( https://github.com/cdr/code-server/issues/1633 ) .
45
45
46
46
``` bash
47
- npm install -g code-server
47
+ yarn global add code-server
48
+ # Or: npm install -g code-server
48
49
code-server
49
50
# Now visit http://127.0.0.1:8080. Your password is in ~/.config/code-server/config.yaml
50
51
```
Original file line number Diff line number Diff line change 73
73
74
74
# We remove the scripts field so that later on we can run
75
75
# 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.
77
77
jq ' del(.scripts)' < " $VSCODE_SRC_PATH /package.json" > " $VSCODE_OUT_PATH /package.json"
78
78
}
79
79
Original file line number Diff line number Diff line change @@ -136,7 +136,7 @@ If you want to make the SSH port forwarding persistent we recommend using
136
136
[ mutagen] ( https://mutagen.io/documentation/introduction/installation ) .
137
137
138
138
```
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 .
140
140
# Add `mutagen daemon start` to your ~/.bashrc to start the mutagen daemon when you open a shell.
141
141
mutagen forward create --name=code-server tcp:127.0.0.1:8080 <instance-ip>:tcp:127.0.0.1:8080
142
142
```
You can’t perform that action at this time.
0 commit comments