Prerequisites
- Install Homebrew
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
- Install node.js:
- Note: The only current supported version is node 0.8 (0.10 breaks with some charset error).
brew install nvm
- Note: Homebrew requires some setup for node, including
mkdir ~/.nvm
and addingNVM_DIR
and sourcingnvm.sh
to the .bash_profile. Follow the instructions under "==> Caveats" if you see them.