> brew install node # get node.js
> npm install -g appium # get appium
> npm install wd # get appium client
> appium & # start appium
> node your-appium-test.js
npm command not found
curl -L http://npmjs.org/install.sh | sudo sh
2:
npm install时报错:npm WARN enoent ENOENT: no such file ordirectory
The fix for me was : npm