> java -jar selenium-server-standalone.jar -role hub -port 4444 -host hostname In order to setup the grid initially run the following command in the terminal: Setting the grid locally: Configuring the Grid: If you have not set up Appium locally yet, here is the link for setting it up on OS X, and here is the link for setting it up on windows. Setting up Appium:įirst you need to set up Appium locally. This is a step-by-step guide on how to setup an Appium grid and connect your devices locally for the purposes of mobile test automation.