Let's Get Rolling
Prerequisites
Node
Node.jsshould be installed and properly set up.- If not, download & install
Node.jsfrom here
Info
We will use node for download and usage of Appium
Installation of Appium and Appium Doctor
-
Step 1 : Install Appium via
npm
Note
Installing Appium 2.0 only installs the Appium server, not the drivers. All drivers have been isolated from the Appium server app
- Step 2 : Install drivers
-
Step 3 : Check the list of drivers installed
-
Step 4 : Install appium-doctor (optional)
Note
Appium Doctor is a handy tool from Appium team that serves as a pre-flight check for Appium test environment Attempts to diagnose and fix common Node, iOS and Android configuration issues
-
Step 5 : Run appium-doctor to check the status of dependencies (optional)
A proper set up would look like this :

Setting of Java Home
Windows
-
Create a system variable
JAVA_HOMEwith the value as the path where your Java is installed. This should be the root location of your Java installation
-
Add the Java bin path to the
PATHvariable
Mac OS
Add the JAVA_HOME in .bash_profile (for old MACs) or in .zshrc or .zprofile (for new MACs)