Many methods have failed and are intended to be installed in a command-line manner.
Preparatory work:
Download the Appium version of source code (. Tar) from Https://github.com/appium/appium
See github_appium1.6.5
1. Command Line Install node:
Brew Install node
2. CD-to-Appium.tar path after decompression
3. Installing Appium
NPM install-g./appium
Post-Installation Interface:
nalidemacbook-pro:appium-1.6.5nali$ NPM Install-g appiumnpm WARN deprecated Babel[Email protected]5.8. -: Babel5 isNo longer being maintained. Upgrade to Babel6. NPM WARN deprecated [email protected]2.0.Ten: Please update to Minimatch3.0.2or higher to avoid a RegExp DoS issuenpm WARN deprecated Line[Email protected]0.2.0: Copy its ~ -LOC directly into your code instead./usr/local/bin/appium-/usr/local/lib/node_modules/appium/build/lib/Main.js> [Email protected]2.11.2install/usr/local/lib/node_modules/appium/node_modules/appium-Chromedriver> Node install-npm.jsinfo chromedriver Install installing Chromedriver version'2.28' forPlatform'mac'and architecture' -'Info chromedriver Install Opening temp file to write CHROMEDRIVER_MAC64 to...info chromedriver install downloading HTT PS://chromedriver.storage.googleapis.com/2.28/chromedriver_mac64.zip ...Info chromedriver Install Writing binary content to/var/folders/gs/1rvd4dj94gn10btdfzmq50680000gn/t/201787-9541-1hmuws9.6gxs/chromedriver_mac64.zip...info chromedriver Install extracting/var/folders/gs/1rvd4dj94gn10btdfzmq50680000gn/t/201787-9541-1hmuws9.6gxs/chromedriver_mac64.zip to/var/folders/gs/1rvd4dj94gn10btdfzmq50680000gn/t/201787-9541-1hmuws9.6gxs/chromedriver_mac64info chromedriver Install Creating/usr/local/lib/node_modules/appium/node_modules/appium-chromedriver/chromedriver/mac...info chromedriver Install Copying unzipped binary, reading from/var/folders/gs/1rvd4dj94gn10btdfzmq50680000gn/t/201787-9541-1hmuws9.6gxs/chromedriver_mac64/chromedriver...info chromedriver Install Writing to/usr/local/lib/node_modules/appium/node_modules/appium-chromedriver/chromedriver/mac/chromedriver...info chromedriver Install/usr/local/lib/node_modules/appium/node_modules/appium-chromedriver/chromedriver/mac/chromedriver successfully Putinch Place> [Email protected]1.6.2install/usr/local/lib/node_modules/appium/node_modules/appium-selendroid-Driver> node./bin/install.jsdbug androiddriver Getting java versioninfo androiddriver java version is:1.8. 0_144info selendroid ensuring/usr/local/lib/node_modules/appium/node_modules/appium-selendroid-driver/selendroid/download exists
......
4. Command line run Appium Check to be able to start
nalidemacbook-pro:appium-1.6. 5 nali$ Appium[appium] Welcome to Appium v1. 6.5 interface0.0. 0.0:4723
5. Verify the second way to install the appium-doctor.
See Github_appium_doctor
The following error problem is also encountered during Appium installation, but does not affect. Follow-up resolution
dbug androiddriver Getting java versioninfo androiddriver java version is:1.8. 0_144info selendroid ensuring/usr/local/lib/node_modules/appium/node_modules/appium-selendroid-driver/selendroid/download Existsinfo selendroid downloading selendroid standalone server version0.17.0 fromhttp//repo1.maven.org/maven2/io/selendroid/selendroid-standalone/0.17.0/ Selendroid-standalone-0.17.0-with-dependencies.jar-/usr/local/lib/node_modules/appium/node_modules/ appium-selendroid-driver/selendroid/download/ Selendroid-server-7cf7163ac47f1c46eff95b62f78b58c1dabdec534acc6632da3784739f6e9d82.jarInfo selendroid Writing binary content to/usr/local/lib/node_modules/appium/node_modules/appium-selendroid-driver/ selendroid/download/selendroid-Server.jar.tmpERR! selendroid Error:bad SHA256 fingerprint:33337a518022088f462d05787fbe6c757b8070b6a1022368163c5ddd6e817871 Bytes:5322043ERR! Selendroid at Object.wrappedLogger.errorAndThrow (.. /.. /lib/logging.js: the: -) ERR! Selendroid at downloadselendroid$ (.. /.. /lib/installer.js: -:9) ERR! Selendroid at TryCatch (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js: the: +) ERR! Selendroid at Generatorfunctionprototype.invoke [ as_invoke] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315: A) ERR! Selendroid at Generatorfunctionprototype.prototype. (anonymous function) [ asNext] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js: -: +) ERR! Selendroid at Generatorfunctionprototype.invoke (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/ Regenerator/runtime.js:136:Panax Notoginseng) ERR! Selendroid at <anonymous>ERR! selendroid Error:bad SHA256 fingerprint:33337a518022088f462d05787fbe6c757b8070b6a1022368163c5ddd6e817871 Bytes:5322043ERR! Selendroid at Object.wrappedLogger.errorAndThrow (.. /.. /lib/logging.js: the: -) ERR! Selendroid at downloadselendroid$ (.. /.. /lib/installer.js: -:9) ERR! Selendroid at TryCatch (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js: the: +) ERR! Selendroid at Generatorfunctionprototype.invoke [ as_invoke] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315: A) ERR! Selendroid at Generatorfunctionprototype.prototype. (anonymous function) [ asNext] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js: -: +) ERR! Selendroid at Generatorfunctionprototype.invoke (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/ Regenerator/runtime.js:136:Panax Notoginseng) ERR! Selendroid at <anonymous>selendroid Setup files did not yet exist, waiting ...
Appium MAC command-line installation