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:
parent
ea8a7ec1ba
commit
5de8740a38
|
|
@ -102,11 +102,10 @@ echo prefix=~/.npm-packages >> ~/.npmrc
|
||||||
curl -L https://www.npmjs.com/install.sh | sh
|
curl -L https://www.npmjs.com/install.sh | sh
|
||||||
```
|
```
|
||||||
|
|
||||||
The final step is to add
|
The final step is to add `~/.npm-packages/bin` to your `PATH` so commands you install globally are usable.
|
||||||
`~/.node/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.
|
||||||
Add something like this to your `.bashrc` file.
|
|
||||||
```
|
```
|
||||||
export PATH="$HOME/.node/bin:$PATH"
|
export PATH="$HOME/.npm-packages/bin:$PATH"
|
||||||
```
|
```
|
||||||
|
|
||||||
#### npm packages
|
#### npm packages
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue