aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEddie Zaneski2014-05-10 21:56:57 -0400
committerAdam Vandenberg2014-05-16 07:45:22 -0700
commitffdedb1336054d653a7f9a1e3463617a33acca27 (patch)
treed996f3767b27fa98a7f6a907df6fbced60ce1615
parentfddb8e7576d611cb4f1e9b0132f8bb2202c4ba84 (diff)
downloadhomebrew-ffdedb1336054d653a7f9a1e3463617a33acca27.tar.bz2
nvm: add warning and fix for node install loss
Closes #29122. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
-rw-r--r--Library/Formula/nvm.rb4
1 files changed, 4 insertions, 0 deletions
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