当前位置: 首页 > 工具软件 > Nide > 使用案例 >

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

王旺
2023-12-01

 

<!--[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项目

 

 类似资料: