Ubuntu搭建Cloud9 IDE笔记——安装Node.js npm Cloud9

一、安装Node.js

sudo apt-get install nodejs

二、安装npm

sudo apt-get install npm

改npm源,使用国内清华大学源

npm config set registry http://npm.tuna.tsinghua.edu.cn/registry

去掉SSL (必须去掉,否则会报错)(UNABLE_TO_VERIFY_LEAF_SIGNATURE)

npm config set strict-ssl false

安装sm

sudo npm install -g sm

三、安装Cloud9 IDE

git clone git://github.com/ajaxorg/cloud9.gitcd cloud9sm install

运行Cloud9

bin/cloud9.sh

打开chrome输入地址

http://127.0.0.1:3000

开始研究ing...

你可能感兴趣的:(Ruby,on,Rails)