Appium mobile automation
  • About the Book
  • Introduction to Mobile Test Automation
  • Pre-requisites for Appium Verification
  • What is Appium
    • Appium 1.6.0
  • Installation Instructions
    • Installing Android SDK
    • Installing Appium using app
    • Install Appium using npm
    • Installing an App on Emulator
  • Appium For Beginners
    • Understanding Desired Capabilities
    • Desired Capabilities for Android
    • Cucumber-JVM-Appium - Gradle Project
    • Start Appium Server
  • Write your first Android Test
    • How to use UiAutomatorViewer
    • Appium Inspector
  • Execution of Android tests
    • Execute on GenyMotion Emulator
    • Execute on Real Device
  • Appium Advanced
    • How to automate gestures
    • How to Change contexts
    • Remote Debugging using chrome
    • Running multiple Appium Server for parallel execution
Powered by GitBook
On this page

Was this helpful?

  1. Installation Instructions

Install Appium using npm

PreviousInstalling Appium using appNextInstalling an App on Emulator

Last updated 5 years ago

Was this helpful?

One of the alternative way to install Appium is to install via npm (Node JS Package Manager).

But before that you need to have below items installed

  • npm (version .10 or greater)

  • node.js

Brew will be very handy here to install the above stuff. It's an amazing package manager for OS X and installing packages and updating it will be breeze once you install brew.

Once the node.js and npm are installed, you can use the below command to check if all the appium dependencies are met, run the below command:

appium-doctor

It would show up a result like this if everything is okay:

Once done run the below command to install the appium:

npm install -g appium

Once this is done, start the appium server by the following command:

appium 
&