aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-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