Install Appium from Command Line

Install Appium from Command Line

A lot of times we have a requirement where we need to start and stop appium server either through command prompt or through program as it will help us to execute our test unattended either through tools like Jenkins or on a cloud platform.

Below Steps, we need to follow to install appium server through the command line :

1)    Download and Install Node.js modules.

To Install and download Node js module. Please click on this link and install the node.js module as per your system requirement.

2)    Validate the Node.js installation by typing the below command
                                  npm –version

3)    Now install appium server through command line

Open command line type below command and hit on enter
                        npm install -g appium

alternatively to install any particular appium version use
                       appium install@version

 4)    Once the Appium installation is complete. Validate it by using below   command
                                 appium --version

5)    Start Appium Server

Now to start appium server type appium in command prompt and enter hit

By default appium start on port no 4723 to change the port using below command
                       appium --port <portnumber>

 Happy Learning :)



My Name is Ankur Jain and I am currently working as Automation Test Architect.I am ISTQB Certified Test Manager,Certified UI Path RPA Developer as well as Certified Scrum Master with total 12 years of working experience with lot of big banking clients around the globe.I love to Design Automation Testing Frameworks with Selenium,Appium,Protractor,Cucumber,Rest-Assured, Katalon Studio and currently exploring lot in Dev-OPS as well. I am currently staying in Mumbai, Maharashtra. Please Connect with me through Contact Us page of this website.

Previous Post
Next Post