|
|
|
@ -59,6 +59,8 @@ export NVM_DIR="$HOME/.nvm"
@@ -59,6 +59,8 @@ export NVM_DIR="$HOME/.nvm"
|
|
|
|
|
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm |
|
|
|
|
``` |
|
|
|
|
|
|
|
|
|
**Note:** You can add `--no-use` to the end of the above script (...`nvm.sh --no-use`) to postpone using `nvm` until you manually [`use`](#usage) it. |
|
|
|
|
|
|
|
|
|
You can customize the install source, directory, profile, and version using the `NVM_SOURCE`, `NVM_DIR`, `PROFILE`, and `NODE_VERSION` variables. |
|
|
|
|
Eg: `curl ... | NVM_DIR="path/to/nvm"`. Ensure that the `NVM_DIR` does not contain a trailing slash. |
|
|
|
|
|
|
|
|
|