forkad från coolaj86/node-installer.sh
förälder
82e6ace060
incheckning
62bc523d03
@ -83,7 +83,7 @@ echo "Latest node.js $BASE_VER is $NODEJS_VER"
|
||||
|
||||
Just set BOTH `NODE_PATH` and `NPM_CONFIG_PREFIX`.
|
||||
The install path will be the preceding `lib/node_modules`
|
||||
(which you usually want to be the same as `NPM_CONFIG_PREFIIX` anyway).
|
||||
(which you usually want to be the same as `NPM_CONFIG_PREFIX` anyway).
|
||||
|
||||
```bash
|
||||
export NPM_CONFIG_PREFIX=/tmp/user/local
|
||||
|
||||
Laddar…
x
Referens i nytt ärende
Block a user