1. Download and install node. js
First go to the node. JS official website and select the corresponding machine version to download and install.
: https://nodejs.org/en/
I chose the LTS version on the left, which is the abbreviation for long term support, which is simply a version that can be supported for a long time. The version on the right is up to date, there may be some problems, or a more stable version
Start the installation after downloading.
At present I am placed under the C disk, the default directory, you can also put into other directories, does not affect.
If this shows
Be sure to change the X to the status above, as the default is to add to the path variable.
Then step by step installation is possible.
After installing JS, we open the cmd window, enter "NPM", node-v to verify
JDK Installation
: http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
To configure the environment variables yourself, remember to verify that the JJDK is installed successfully
Install Android Development Tools
Android SDK
Http://dl.google.com/android/android-sdk_r23.0.2-windows.zip
The SDK is self-configuring and self-validating. Remember that the ADB command must be available.
Appium program Installation
Address: https://bitbucket.org/appium/appium.app/downloads/
Unzip the downloaded appiumforwindows.zip and click appium-installer.exe to install.
Follow the prompts to install them step by step.
The Appium-server is ready to open. As for the use of appium we put it in the later chapters to introduce.
Finally, open the Windows command prompt, enter the "appium-doctor" command, and if you get the following prompt, the environment you appium is ready to complete.
Note: If you are prompted:"Appium-doctor" is not an internal or external command , locate the installation directory for Appium
The row C:\Program Files\appium\node_modules\.bin is added to the environment variable under path.
Appium Environment Construction