nodejs学习(二)—anywhere搭建本地服务器

563 查看

没有安装nodejs的同学可以先到node官方下载并安装好node程序。可以看上一篇。

简单两步走

1、安装好node之后打开cmd 输入 npm install anywhere -g 安装anywhere

2、安装完成后,cmd输入你想搭建服务器的路径。
如:e:\app>anywhere 8080
返回:running at http://loacalhost:8080

ok,就是这么简单~