Download and install Node.js using the Windows installer on: https://nodejs.org/en/download
When installing Node.js, make sure that the Add to PATH option is checked.
To make sure Node.js is installed correctly, you can open Windows command line and type the command: where node to see if system can find Node.js.
Open Command Prompt of Windows and input following command to install Appium:
Select your device from the Android Devices list. Click OK.