whistle安装步骤

一、在windowns上安装步骤:

1、先安装nodejs

https://nodejs.org/en/

whistle安装步骤

 

 

 

2、在node安装目录创建node_global和node_cache文件夹

whistle安装步骤

 

3、设置环境变量

用户变量:PATH 中默认的“C:\\Users\AppData\Roaming\npm”替换成“D:\nodejs\node_global”路径

系统变量:命名:NODE_PATH 新增“D:\Develop\nodejs\node_global\node_modules”

 

4、打开cmd

npm config set prefix "D:\nodejs\node_global"   

npm config set cache "D:\nodejs\node_cache"

 

5、以管理员身份运行cmd,输入命令安装whistle

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

 

6、启动whistle

 

whistle安装步骤其他命令:

(1)重启whistle: w2 restart

(2) 关闭whistle : w2 stop

(3)更多内容看: w2 help

 

7、在chrome地址栏输入:127.0.0.1:8899

 

8、https://github.com/FelisCatus/SwitchyOmega/releases 中下载google提供的SwitchyOmega插件

点击下载crx文件下载,下载的crt文件的拓展名改为zip,解压到SwitchyOmega

 

9、在chrome浏览器中输入:chrome://extensions/ 并打开开发者模式

whistle安装步骤

 

之后在chrome会跳转到一个页面,表示安装成功:

whistle安装步骤

 

10、设置代理

 

whistle安装步骤

11、更多详情请看官网文档:

http://wproxy.org/whistle/quickstart.html