https://www.oracle.com/technetwork/java/javase/downloads/index.htmlOpen terminal and type the following command to open the .bash_profile fileInstall the JDK
nano ~/.bash_profileType the following
export JAVA_HOME=$(/usr/libexec/java_home)Press Ctrl+X to exit the bash profile
Press Y to save the changes and press Enter
https://developer.android.com/studio/index.htmlInstall Android studio and move to the Applications.
Open Android studio, click on “Configure” and Select “SDK Manager”
Select “SDK Tools” tab and make sure the highlighted modules are checked and installed. Open terminal and type the following command to open the .bash_profile file
nano ~/.bash_profileType the following in the next line
export ANDROID_HOME=/Users/$USER/Library/Android/sdk export PATH=${PATH}:$ANDROID_HOME/platform-tools:$ANDROID_HOME/emulator:$ANDROID_HOME/tools/bin:ANDROID_HOME/toolsPress Ctrl+X to exit the bash profile
Press Y to save the changes and press Enter Download the stable appium desktop for mac (.dmg file) from
https://github.com/appium/appium-desktop/releases
Install appium desktop client and move the appium to the applications folder
-
Download Xcode from
https://developer.apple.com/download/
- Provide the apple id and password
- Download the stable version of xcode and install it and move it to Applications
-
Download XCode Command Line Tools from
https://developer.apple.com/download/more/
- The command line tools should be the same version of xcode or the lower version of xcode If xcode version is 9.3.3 and command line tools can be of 9.3.2 6. Install XCode Command Line Tools
- Prerequisite
a. Before install Node, you should need to install Homebrew Homebrew is a package manager for the Mac — it makes installing most open source software (like Node) as simple b. Open the Terminal app and typeruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2>/dev/null
- Open the Terminal app and type
brew install node
- To make sure you have Node and NPM installed, run two simple commands to see what version of each is installed
node -v
-
Open the Terminal app and install the following by giving these commands.
These dependencies are needed for Appium
> brew install carthage > brew install libimobiledevice --HEAD > brew install ideviceinstaller > npm install -g ios-deploy