no luck.
PFB logs.
administorsmini:~ chhavi.singh$ npm uninstall -g appium
removed 535 packages in 14.067s
administorsmini:~ chhavi.singh$ npm install -g appium
/Users/chhavi.singh/.npm-global/bin/appium -> /Users/chhavi.singh/.npm-global/lib/node_modules/appium/build/lib/main.js
appium-chromedriver@4.0.0 install /Users/chhavi.singh/.npm-global/lib/node_modules/appium/node_modules/appium-chromedriver
node install-npm.js
info Chromedriver Install Installing Chromedriver version ā2.38ā for platform āmacā and architecture '64ā
info Chromedriver Install Opening temp file to write chromedriver_mac64 toā¦
info Chromedriver Install Downloading https://chromedriver.storage.googleapis.com/2.38/chromedriver_mac64.zipā¦
info Chromedriver Install Writing binary content to /var/folders/18/mn57ht2n65d987s_d25rx5mc52kmmy/T/2018425-8105-1brxsw5.k3lh/chromedriver_mac64.zipā¦
info Chromedriver Install Extracting /var/folders/18/mn57ht2n65d987s_d25rx5mc52kmmy/T/2018425-8105-1brxsw5.k3lh/chromedriver_mac64.zip to /var/folders/18/mn57ht2n65d987s_d25rx5mc52kmmy/T/2018425-8105-1brxsw5.k3lh/chromedriver_mac64
info Chromedriver Install Creating /Users/chhavi.singh/.npm-global/lib/node_modules/appium/node_modules/appium-chromedriver/chromedriver/macā¦
info Chromedriver Install Copying unzipped binary, reading from /var/folders/18/mn57ht2n65d987s_d25rx5mc52kmmy/T/2018425-8105-1brxsw5.k3lh/chromedriver_mac64/chromedriverā¦
info Chromedriver Install Writing to /Users/chhavi.singh/.npm-global/lib/node_modules/appium/node_modules/appium-chromedriver/chromedriver/mac/chromedriverā¦
info Chromedriver Install /Users/chhavi.singh/.npm-global/lib/node_modules/appium/node_modules/appium-chromedriver/chromedriver/mac/chromedriver successfully put in place
appium-selendroid-driver@1.8.0 install /Users/chhavi.singh/.npm-global/lib/node_modules/appium/node_modules/appium-selendroid-driver
node ./bin/install.js
dbug AndroidDriver Getting Java version
info AndroidDriver Java version is: 1.8.0_171
info Selendroid Ensuring /Users/chhavi.singh/.npm-global/lib/node_modules/appium/node_modules/appium-selendroid-driver/selendroid/download exists
info Selendroid Downloading Selendroid standalone server version 0.17.0 from http://repo1.maven.org/maven2/io/selendroid/selendroid-standalone/0.17.0/selendroid-standalone-0.17.0-with-dependencies.jar --> /Users/chhavi.singh/.npm-global/lib/node_modules/appium/node_modules/appium-selendroid-driver/selendroid/download/selendroid-server-7cf7163ac47f1c46eff95b62f78b58c1dabdec534acc6632da3784739f6e9d82.jar
info Selendroid Writing binary content to /Users/chhavi.singh/.npm-global/lib/node_modules/appium/node_modules/appium-selendroid-driver/selendroid/download/selendroid-server.jar.tmp
info Selendroid Selendroid standalone server downloaded
info Selendroid Determining AndroidManifest location
info Selendroid Determining server apk location
info Selendroid Extracting manifest and apk to /Users/chhavi.singh/.npm-global/lib/node_modules/appium/node_modules/appium-selendroid-driver/selendroid/download
info Selendroid Copying manifest and apk to /Users/chhavi.singh/.npm-global/lib/node_modules/appium/node_modules/appium-selendroid-driver/selendroid
info Selendroid Cleaning up temp files
info Selendroid Fixing AndroidManifest icon bug
fsevents@1.2.4 install /Users/chhavi.singh/.npm-global/lib/node_modules/appium/node_modules/fsevents
node install
[fsevents] Success: ā/Users/chhavi.singh/.npm-global/lib/node_modules/appium/node_modules/fsevents/lib/binding/Release/node-v57-darwin-x64/fse.nodeā already installed
Pass --update-binary to reinstall or --build-from-source to recompile
heapdump@0.3.9 install /Users/chhavi.singh/.npm-global/lib/node_modules/appium/node_modules/heapdump
node-gyp rebuild
CXX(target) Release/obj.target/addon/src/heapdump.o
SOLINK_MODULE(target) Release/addon.node
- appium@1.8.1
added 535 packages in 136.742s
administorsmini:~ chhavi.singh$ appium
-bash: appium: command not found
administorsmini:~ chhavi.singh$