minor correction on the right npm path (#618)

* minor correction to the right npm path

* minor correction to the right npm path
This commit is contained in:
Peiji Chen 2016-06-15 14:24:25 -07:00 committed by Maxime Beauchemin
parent ea8a7ec1ba
commit 5de8740a38
1 changed files with 3 additions and 4 deletions

View File

@ -102,11 +102,10 @@ echo prefix=~/.npm-packages >> ~/.npmrc
curl -L https://www.npmjs.com/install.sh | sh
```
The final step is to add
`~/.node/bin` to your `PATH` so commands you install globally are usable.
Add something like this to your `.bashrc` file.
The final step is to add `~/.npm-packages/bin` to your `PATH` so commands you install globally are usable.
Add something like this to your `.bashrc` file, then `source ~/.bashrc` to reflect the change.
```
export PATH="$HOME/.node/bin:$PATH"
export PATH="$HOME/.npm-packages/bin:$PATH"
```
#### npm packages