From 74f455e610006c3d57a14c63aa76dcf7f12ef9ba Mon Sep 17 00:00:00 2001 From: Christoph Krautz Date: Fri, 9 Feb 2018 11:51:46 +0100 Subject: [PATCH] [Docs] Add reminder that NVM_DIR should not contain trailing slash, fix for #1708 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5eb3b32..5627b48 100644 --- a/README.md +++ b/README.md @@ -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. *NB. The installer can use `git`, `curl`, or `wget` to download `nvm`, whatever is available.*