ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"
brew install java
brew install python3
pip install selenium
pip install appium-python-client
brew install git
brew install nodejs
npm install -g cnpm --registry=https://registry.npm.taobao.org
sudo cnpm install appium -g
sudo cnpm install appium-doctor -g
sudo cnpm install appium-xcuitest-driver
sudo cnpm install appium-uiautomator2-driver
sudo cnpm install opencv4nodejs ffmpeg fbsimctl applesimutils idevicelocation ios-deploy ios_webkit_debug_proxy bundletool.jar
brew install carthage
sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
vim ~/.bash_profile
export ANDROID_HOME=/usr/local/android-sdk-macosx
export PATH=${PATH}:${ANDROID_HOME}/tools
export PATH=${PATH}:${ANDROID_HOME}/platform-tools
export JAVA_HOME=$(/usr/libexec/java_home)
export PATH=${JAVA_HOME}/bin:${PATH}
export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:${JAVA_HOME}/lib/tools.jar
source ~/.bash_profile
(遇到权限不足 可以 sudo chmod 777 指定文件)
下载安装appium-desktop
https://github.com/appium/appium-desktop/releases/
更多学习资料请加添加作者微信:lockingfree获取
原文:https://www.cnblogs.com/superhin/p/11454782.html