nvm: add warning and fix for node install loss

Closes Homebrew/homebrew#29122.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
Eddie Zaneski 2014-05-10 21:56:57 -04:00 committed by Adam Vandenberg
parent dcedb2e6d4
commit edbaae578d

View file

@ -17,6 +17,10 @@ class Nvm < Formula
source $(brew --prefix nvm)/nvm.sh
Node installs will be lost upon upgrading nvm. Add the following above the source line to move install location and prevent this:
export NVM_DIR=~/.nvm
Type `nvm help` for further information.
EOS
end