Originally the DMG under node's website, after installation,
NPM install-g appium, reported permission error.
sudo npm install-g appium,
Then NPM install WD
Although it can be installed successfully. But there's a problem with permissions when you appium&.
Toss for a long while. In the end, according to Appium official website method
Install the brew first, then use Brew to mount node and install the Appium.
Finally successful
Brew Install node
NPM install-g Appium
NPM Install WD
zhangminjiedemacbook-pro:~ zhangminjie$ Appium-doctor
Running IOS Checks
? Xcode is installed At/library/developer/commandlinetools
? Xcode Command line Tools is installed.
? Devtoolssecurity is enabled.
? The Authorization DB is set up properly.
? Node Binary found At/usr/local/bin/node
? IOS Checks were successful.
Running Android Checks
? Android_home is not set
Because there is no Android environment, error ignoring
Appium mac Environment Setup