sudo apt-get install nodejs
sudo apt-get install npm
改npm源,使用国内清华大学源node
npm config set registry http://npm.tuna.tsinghua.edu.cn/registry
去掉SSL (必须去掉,不然会报错)(UNABLE_TO_VERIFY_LEAF_SIGNATURE)git
npm config set strict-ssl false
安装smgithub
sudo npm install -g sm
git clone git://github.com/ajaxorg/cloud9.git cd cloud9 sm install
运行Cloud9ajax
bin/cloud9.sh
打开chrome输入地址chrome
http://127.0.0.1:3000
开始研究ing...npm