[Docs] Add reminder that NVM_DIR should not contain trailing slash, fix for #1708

Christoph Krautz 2018-02-09 11:51:46 +01:00
parent f5b5f2d41d
commit 74f455e610
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ export NVM_DIR="$HOME/.nvm"
```
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=/usr/local/nvm bash` for a global install.
Eg: `curl ... | NVM_DIR=/usr/local/nvm bash` for a global install. Ensure that the `NVM_DIR` does not contain a trailing slash.
<sub>*NB. The installer can use `git`, `curl`, or `wget` to download `nvm`, whatever is available.*</sub>