Set Up Appium on Mac

iOS Requirements

  • Mac OS X 10.12 recommended
  • XCode 8 recommended
  • Apple Developer Tools (iPhone simulator SDK, command line tools)

Commands to install Appium on Mac:

Launch Terminal:

Step 1:

This will install home-brew. Basically Homebrew is an open-source software package management system that simplifies the installation of software on Apple’s OS X operating system.

——      ruby -e “$(curl -fsSL” 

This will prompt for the password..Enter the password to continue.

Step 2:

This will install node JS as appium will use Node js as the medium of communication between your java code and appium server

——       brew install node

Step 3:

Install Appium using NPM (Node package Manager)

——       npm install -g appium

Step 4:

install Appium Client on the machine

——       npm install wd

Step 5:

This will give permission for appium to use all the iOS simulators and the iOS devices connected to the machine

npm install -g authorize-ios

Step 6:

This command will provide the root access to the appium client

sudo authorize-ios

Step 7:

Verify the installation of appium on your device.

appium &

You will be displayed with the following message:

Welcome to Appium v1.5.3

[Appium] Appium REST http interface listener started on

Stop the Server:

Get the process id of the appium


Step 8:

ideviceinstaller is a tool to interact with the installation_proxy of an iOS device allowing to install, upgrade, uninstall, archive, restore and enumerate installed or archived apps.

brew install –HEAD ideviceinstaller

Step 9:

  1. Goto
  2. Download & Install the appium client.

In the Finder, locate the app you want to open.
Don’t use Launchpad to do this. Launchpad doesn’t allow you to access the shortcut menu. Press the Control key and click the app icon, then choose Open from the shortcut menu. Click Open.
The app is saved as an exception to your security settings, and you can open it in the future by double-clicking it just as you can any registered app.

Set up Java & Android_home path:

Open terminal…

use the following command

nano ~/.bash_profile

Enter the following commands….

export ANDROID_HOME=/Users/krishna/Library/Android/sdk

export PATH=$ANDROID_HOME/platform-tools:$PATH:/usr/local/bin


export JAVA_HOME=$(/usr/libexec/java_home)

export NODE_PATH=/usr/local/lib/node_mod

Save the file.

Use the following command to verify


Your Appium setup is ready. Continue to write your first Automation script.

Leave a Reply

Your email address will not be published. Required fields are marked *