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
臨時(shí)使用
npm --registry https://registry.npm.taobao.org install express
持久使用淘寶鏡像進(jìn)行安裝
npm config set registryzhttps://registry.npm.taobao.org
//配置完成后可通過以下方式進(jìn)行驗(yàn)證
npm config get registry
//或
npm info express
通過進(jìn)行進(jìn)行安裝
cnpm install express
npm install express
最后編輯于 :
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者