Start Appium Server from command line

Yes, we can also download and install and even Start/Stop Appium Server from Command line.

Just follow below steps :

1. Download and install the Node and NPM tool.
Download and install latest Node MSI from Nodejs.org. This will also install NPM tool.Click here to download

NodeJSDownload

2. Install Appium through Command line
Open command prompt as Administrator and type following command and hit Enter. It will start installing latest version of Appium.

npm install -g appium

InstallAppiumViaNode-1

NOTE : Wait for installation to complete. Once Appium installation is complete, you will see the similar output as shown in screenshot below. Above command has now installed the Appium 1.9 which is the latest version.

InstallAppiumViaNode-2

3. Start Appium Server
Now type appium in command prompt and hit Enter in order to start Appium Server.

appium

InstallAppiumViaNode-3

Appium server has now started at default port number : 4723. We can also start the Appium server on different port number using following command :

appium --port <Port number>

InstallAppiumViaNode-4

If you really like the information provided above, please don’t forget to like us on Facebook, you can also leave the comment.

Leave a Reply

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