从https://bitbucket.org/appium/appium.app/downloads/,下载最新版本,目前是1.5.3,点击进行安装。
安装成功,点击Doctor启动检测,因为mac版本问题可能存在下边的问题
Error: Could not detect Mac OS X Version from sw_vers output: '10.12。
由于10.12是最新mac版本,appium1.5.3并未提供支持,所以用“grep -rl "Could not detect Mac OS X Version from sw_vers output:" /Applications/Appium.app/”找出包含的文件并修改版本号。具体见http://stackoverflow.com/questions/40129794/how-to-fix-error-could-not-detect-mac-os-x-version-from-sw-vers-output-10-12
按照上边的方法修改完版本号之后,重新点击Doctor启动检测,返回类似下面的内容就表示安装成功了。