4月 17

npm config set proxy=http://172.28.40.4:80
npm config set registry=http://registry.npmjs.org

npm config set https-proxy=http://172.28.40.4:80
npm config set registry=https://registry.npmjs.org/

npm 全局安装 appium,使用命令(默认安装最新版本):
npm install appium -g

安装 appium 完成后,继续安装 appium-doctor

npm install appium-doctor -g

使用 appium-doctor 检查所有配置均已正确即表示安装成功

npm config delete proxy
npm config delete https-proxy

written by ocean


Leave a Reply