`
baiyejianxin
  • 浏览: 159758 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

Nodejs的开发工具Nide的安装过程

 
阅读更多

 

<!--[if !supportLists]-->1.      <!--[endif]-->ubuntu下安装nodejs

 

sudo apt-get install python-software-properties

sudo add-apt-repository ppa:chris-lea/node.js

sudo apt-get update

sudo apt-get install nodejs


node --version

 

安装curl

sudo apt-get install curl

 

安装npm

curl http://npmjs.org/install.sh | sudo sh

nmp -v

 

安装NideNodejsIDE工具)

sudo npm install –g nide

 

创建工程

进入要创建工程的目录

执行  nide init 

 

此时会提示如下信息

created '.nide' directory

Added '.nide' directory to .gitignore

Added '.nide' direcotry to .npmignore

Nide running at http://localhost:8123

 

 

提示Nide已经启动,并坚挺8123端口。

此时在浏览器会自动打开Nide 工具的页面,根据提示创建工程,添加代码就可以了。

 

编辑好代码好

是用node ***.js来启动nodejs项目

 

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics