mac appium

作者: bendev | 来源:发表于2015-11-04 16:01 被阅读200次

mac 安装appium

mac安装brew


ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

run appium in OS X


brew isntall node

npm install -g appium

npm install wd

appium &

mac 卸载node

sudo rm -rf /usr/local/{lib/node{,/.npm,_modules},bin,share/man}/{npm*,node*,man1/node*}
//or
sudo rm -rf /usr/local/bin/npm /usr/local/share/man/man1/node* /usr/local/lib/dtrace/node.d ~/.npm ~/.node-gyp /opt/local/bin/node opt/local/include/node /opt/local/lib/node_modules

临时使用


npm --registry https://registry.npm.taobao.org install express

持久使用淘宝镜像进行安装


npm config set    registryzhttps://registry.npm.taobao.org

//配置完成后可通过以下方式进行验证

npm config get registry

//或

npm info express

通过进行进行安装


cnpm install express

npm install express

相关文章

网友评论

本文标题:mac appium

本文链接:https://www.haomeiwen.com/subject/anoqhttx.html