Skip to content

Commit d6eaeb8

Browse files
Merge #927
927: Add steps to avoid sudo for npm and node on Linux r=carols10cents Resolves #809 by recommending `nvm` to install `node` and `npm` on Linux
2 parents b70e741 + 65f4095 commit d6eaeb8

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

docs/CONTRIBUTING.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ as well.
7777

7878
#### Frontend requirements
7979

80-
In order to run the frontend, you will need to have installed:
80+
In order to run the frontend on Windows and macOS, you will need to have installed:
8181

8282
- [node](https://nodejs.org/en/) >= 6.10.0
8383
- [npm](https://www.npmjs.com/get-npm) >= 4.0.0
@@ -86,7 +86,11 @@ Follow the links for each of these tools for their recommended installation
8686
instructions. If you already have these tools, or you have a different
8787
preferred method of installing packages like these, that should work fine.
8888

89-
> Note that you may need to install these as root using `sudo` in some cases.
89+
If you are on Linux, use [nvm](https://github.com/creationix/nvm/blob/master/README.md)
90+
to install to ensure that the use of `npm` does not require the use of `sudo`.
91+
92+
The front end should run fine after these steps. Please file an issue if you run
93+
into any trouble.
9094

9195
#### Building and serving the frontend
9296

0 commit comments

Comments
 (0)