whistle使用详解————http://wproxy.org/whistle/
whistle的Github——https://github.com/avwo/whistle
1、whistle的安装【前置依赖——nodejs】
1.0、需要先安装node————确保node安装最新的版本【nodejs安装包网址——https://nodejs.org/】;
安装完Node后,执行命令——node -v,查看当前Node版本【如果能正常输出Node的版本号,表示Node已安装成功】;
1.1、再安装whistle————执行npm install -g whistle【Mac或Linux的非root用户需要在命令行前面加sudo
】;
或者npm默认镜像是在国外,有时候安装速度很慢或者出现安装不了的情况,如果无法安装或者安装很慢,可以使用taobao的镜像安装
npm install cnpm -g --registry=https://registry.npm.taobao.org
cnpm install -g whistle
whistle安装完成后,执行命令 whistle help
或 w2 help
,查看whistle的帮助信息【如果能正常输出whistle的帮助信息,表示whistle已安装成功】