开发环境
Mac环境
安装 whistle

whistle官方地址

https://wproxy.org/whistle/ (opens in a new tab) 安装配置文档 https://wproxy.org/whistle/install.html (opens in a new tab)

安装whistle

安装

npm install -g whistle

查看whistle的帮助信息

执行命令 whistle help  w2 help

image.png

常用命令

启动whistle

最新版本的whistle支持三种等价的命令 whistle、w2、wproxy

w2 start

image.png 如果要防止其他人访问配置页面,可以在启动时加上登录用户名和密码

w2 start -n yourusername -w yourpassword

重启whsitle

w2 restart

停止whistle

w2 stop

调试模式启动

调试模式启动whistle(主要用于查看whistle的异常及插件开发)

w2 run