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

1、安装Node.js

sudo apt-get install nodejs

2、安装npm

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

3、安装Cloud9 IDE

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

相关文章
相关标签/搜索