Skip to content

Instantly share code, notes, and snippets.

@phizaz
Last active October 25, 2015 07:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save phizaz/f89434f121d025d5f11d to your computer and use it in GitHub Desktop.
Save phizaz/f89434f121d025d5f11d to your computer and use it in GitHub Desktop.
$ brew info nvm
nvm: stable 0.29.0, HEAD
Manage multiple Node.js versions
https://github.com/creationix/nvm
Not installed
From: https://github.com/Homebrew/homebrew/blob/master/Library/Formula/nvm.rb
==> Caveats
Please note that upstream has asked us to make explicit managing
nvm via Homebrew is unsupported by them and you should check any
problems against the standard nvm install method prior to reporting.
You should create NVM's working directory if it doesn't exist:
mkdir ~/.nvm
Add the following to ~/.bash_profile or your desired shell
configuration file:
export NVM_DIR=~/.nvm
source $(brew --prefix nvm)/nvm.sh
You can set $NVM_DIR to any location, but leaving it unchanged from
/usr/local/Cellar/nvm/0.29.0 will destroy any nvm-installed Node installations
upon upgrade/reinstall.
Type `nvm help` for further information.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment