Skip to content
avenwu.wwb edited this page Nov 12, 2015 · 14 revisions

版本变更点,请查看:CHANGELOG

执行命令更新whistle:

$ npm install -g whistle 

mac或linux用户,如果安装过程出现异常,可以使用 sudo npm install -g whistle安装

npm默认镜像是在国外,有时候安装速度很慢或者出现安装不了的情况,如果无法安装或者安装很慢,可以使用taobao的镜像安装:

$ npm install cnpm -g --registry=https://registry.npm.taobao.org

安装成功后,直接执行:

$ cnpm install -g whistle

mac或linux用户,如果安装过程出现异常,可以使用 sudo cnpm install -g whistle安装

cnpm安装成功后,重启 whistle

$ whistle restart

mac或linux用户,如果启动过程出现异常,可以使用 sudo whistle restart安装

极端情况下可能出现端口占用的情况,遇到这种情况手动kill掉 nodeiojs 的进程即可。

Clone this wiki locally