From ffdedb1336054d653a7f9a1e3463617a33acca27 Mon Sep 17 00:00:00 2001 From: Eddie Zaneski Date: Sat, 10 May 2014 21:56:57 -0400 Subject: nvm: add warning and fix for node install loss Closes #29122. Signed-off-by: Adam Vandenberg --- Library/Formula/nvm.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Library/Formula') diff --git a/Library/Formula/nvm.rb b/Library/Formula/nvm.rb index 1065d3068..1591390cd 100644 --- a/Library/Formula/nvm.rb +++ b/Library/Formula/nvm.rb @@ -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 -- cgit v1.2.3