Prerequisites:
1.jdk1.8
2.python
3.android SDK
4..microsoft.net Framework 4.5:https://www.microsoft.com/zh-cn/download/confirmation.aspx?id=30653
(There are also Visual C + + Build Tools installed)
5. Install node. js
https://nodejs.org/download/release/latest/win-x64/
6. Install VCBuild, if not install will encounter error: Failed to load Visual C + + component "VCBuild.exe"
(PS: The company computer encountered this error, regardless, Appium is also installed successfully, startup did not find what the problem ... Not known later)
Workaround one: Run as Administrator: Windows PowerShell
Input command one: npm install--global--production windows-build-tools (Global Install Windows Build tool)
Input command two: NPM install-g node-gyp (compile C + + extensions)
Workaround Two: Install Visual C + + Build TOOLS:HTTPS://PAN.BAIDU.COM/S/1HUKVJQG
Official Installation Appium
Start cmd
1. Using a domestic agent, enter the command: NPM--registry http://registry.cnpmjs.org install-g appium
2. Enter the command to install APPIUM-DOCTOR:NPM install-g appium-doctor
3. Enter Command Appium start
4. Input command Appium-doctor detection environment
(if the prompt is not an internal command, place the installed path in path, such as C:\USERS\ADMINISTRATOR\APPDATA\ROAMING\NPM)
Reference Link: 76919414
Https://www.jianshu.com/p/cb4e8ff34fa7
80280884
WIN10 Command Installation Appium