nodebrew
setup
curl $ curl https://raw.github.com/hokaccha/nodebrew/master/nodebrew | perl - setup wget $ wget https://raw.github.com/hokaccha/nodebrew/master/nodebrew $ perl nodebrew setup
add PATH
export PATH=$HOME/.nodebrew/current/bin:$PATH $ source ~/.bashrc
use Node.js
$ nodebrew install latest $ nodebrew ls-remote $ nodebrew install 0.9.12 $ nodebrew install 0.8.18 $ nodebrew use 0.9.12
npm
% curl http://npmjs.org/install.sh | sh % npm --version
grunt
$ npm install -g grunt $ grunt --version
