sudo apt-get update
sudo apt-get install -y python-software-properties python g++ make
sudo add-apt-repository ppa:chris-lea/node.js
sudo apt-get update
sudo apt-get install nodejs #npm is not needed
ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"
brew doctor
brew install node
Using the Safari browser (not Chrome, Firefox or Opera) on Mac OS X 10.9 (Mavericks) visit https://registry.npmjs.org
Click the Show certificate button and then check the checkbox labelled Always trust. Then click Continue and enter your password if required.
curl https://npmjs.org/install.sh | sh
curl http://npmjs.org/install.sh -L -o -| sh
/etc/profile (or ~/.bash_profile) ???
export NODE_PATH="/usr/local/lib/node_modules:/usr/local/lib/node"
export PATH="/usr/local/share/npm/bin:$PATH"
http://nodejs.org/download/
http://rubyinstaller.org/downloads/
PATH=C:\Program Files\nodejs;C:\Ruby200-x64\bin;C:\Program Files (x86)\Git\bin
gem update --system
sudo gem install compass
gem update --system
gem install compass
npm install -g yo
npm install
bower install
npm install -g generator-angular
yo angular
bower install angular-ui
grunt test
grunt server
grunt
remove npm, modules, compass
npm cache clean
sudo npm remove -g yo
sudo npm remove -g generator-angular
...
sudo npm remove -g npm
sudo gem uninstall compass
#参考
http://decodize.com/css/installing-yeoman-front-end-development-stack-windows/