appium 命令行版安装方法

下载对应系统和位数的 node.js 安装包 https://nodejs.org/en/download/

win7使用 链接:https://pan.baidu.com/s/171q910rbcvbGOGWbNc4wsQ
提取码:lrxv

appium 命令行版安装方法,打开命令行窗口,输入:npm --registry http://registry.npm.taobao.org install appium -g   

使用方法:打卡命令行,输入:

appium -a 127.0.0.1 -p 4724  -U 127.0.0.1:21503  其中4724对应appiumport的值,127.0.0.1:21503对应udid;如果想同时开两个appium服务,需要打开两个命令行窗口,分别指定不同的设备

原文地址:https://www.cnblogs.com/tiansc1/p/15754041.html