Install JDK 8 or a later stable official release.
Set the JAVA_HOME system environment variable.
Install Java:
brew update
brew cask install java
Then add following in your ~/.bash_profile:
export JAVA_HOME=$(/usr/libexec/java_home)
Install Android SDK or a later stable official release.
Set the ANDROID_HOME system environment variable.
Install Android SDK:
brew update
brew install android-sdk
Then add following in your ~/.bash_profile:
export ANDROID_HOME=/usr/local/opt/android-sdk
See android-emulator-images-update.sh
See android-emulator-re-create.sh
3. Install NodeJS and Appium (http://appium.io/)
Windows:
Download and install latest NodeJS LTS release
macOS:
brew update
brew tap homebrew/versions
brew search node
brew install homebrew/versions/node6-lts
Notes: Do NOT install node with sudo!
Install Appium 1.6.3
npm install -g appium@1.6.3
Latest official release of Xcode is required for testing iOS applications.
If you intend to test on iOS devices you will need following:
brew update
brew install --HEAD libimobiledevice
brew install --HEAD ideviceinstaller
brew install ios-webkit-debug-proxy
brew install carthage
npm install -g ios-deploy