diff options
| author | Kris Williams | 2015-01-23 15:03:32 -0800 |
|---|---|---|
| committer | Tim D. Smith | 2015-01-23 19:58:56 -0800 |
| commit | 8879b432be43507f2178cfe1628edc5f48554d42 (patch) | |
| tree | ff12f13b42f3e3d82c1bc3682ee1007066e7a8d3 /Library | |
| parent | 82d203be8cafc65f4c834513d38e78f77a765f3f (diff) | |
| download | homebrew-8879b432be43507f2178cfe1628edc5f48554d42.tar.bz2 | |
nvm 0.23.2
* Bump minor version of nvm
* Clarify install instructions, some bug reports filed where
users were incorrectly exporting the NVM_PATH after calling
the shell script, which would cause breakage and user confusion.
https://github.com/creationix/nvm/issues/598
Closes #36176.
Signed-off-by: Tim D. Smith <git@tim-smith.us>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/nvm.rb | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/Library/Formula/nvm.rb b/Library/Formula/nvm.rb index 1cc6b6d00..2d66546df 100644 --- a/Library/Formula/nvm.rb +++ b/Library/Formula/nvm.rb @@ -1,8 +1,8 @@ class Nvm < Formula homepage "https://github.com/creationix/nvm" head "https://github.com/creationix/nvm.git" - url "https://github.com/creationix/nvm/archive/v0.23.1.tar.gz" - sha1 "a6e10eaaa413b6929b29ec74c4444bc41c94e53e" + url "https://github.com/creationix/nvm/archive/v0.23.2.tar.gz" + sha1 "c20926c5b2f40b563e9db8d81917de3edd378d2e" def install prefix.install "nvm.sh" @@ -10,17 +10,15 @@ class Nvm < Formula end def caveats; <<-EOS.undent - Add the following to $HOME/.bashrc, $HOME/.zshrc, or your shell's - equivalent configuration file: + Add NVM's working directory to your $HOME path (if it doesn't exist): - source $(brew --prefix nvm)/nvm.sh + mkdir ~/.nvm - Node installs will be lost upon upgrading nvm. Add the following above - the source line to move install location and prevent this: + Add the following to $HOME/.bashrc, $HOME/.zshrc, or your shell's + equivalent configuration file: export NVM_DIR=~/.nvm - - You may need to `mkdir ~/.nvm` for that to work successfully. + source $(brew --prefix nvm)/nvm.sh Type `nvm help` for further information. EOS |
