一、安装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...
本文将指导您如何安装Node.js、npm,并设置国内清华源;安装Cloud9IDE,包括安装sm、更改npm源和去除SSL限制;最终通过运行bin/cloud9.sh启动IDE并在本地浏览器中访问其界面。

1087

被折叠的 条评论
为什么被折叠?



