更新ubuntu软件源
$ sudo apt-get update
$ sudo apt-get install -y python-software-properties software-properties-common
$ sudo add-apt-repository ppa:chris-lea/node.js
$ sudo apt-get update
安装nodejs npm
$ sudo apt-get install nodejs
$ sudo apt-get install npm
升级nodejs最新版
$ npm cache
$ sudo npm install -g n
$ sudo n latest
升级nodejs稳定版
$ sudo npm cache clean -f
$ sudo npm install -g n
$ sudo n stable
修改nodejs镜像地址
$ sudo npm config set registry https://registry.npm.taobao.org
$ sudo npm config list
查看npm已安装的包的列表
$ npm list -g --depth 0
安装react依赖后,安装anyproxy
$ npm i -g react@15.0.0
$ npm i -g anyproxy
卸载anyproxy
$ sudo apt-get remove nodejs
启动
$ cd /usr/local/bin/ && node anyproxy -i
$ cd /usr/local/bin/ && anyproxy --port 8001
https://www.jianshu.com/p/d10299b9c9ca
$ cd /usr/local/bin/ && anyproxy --intercept -i --ignore-unauthorized-ssl
安装ca
https://www.cnblogs.com/yoyo1216/p/10418127.html
操作说明
https://www.itcodemonkey.com/article/10443.html
$ pip3.6 install aiohttp