命令行安装 appium:sudo npm install -g appium@1.15

gyp WARN EACCES current user ("nobody") does not have permission to access the dev dir "/Users/apple/Library/Caches/node-gyp/12.16.3"

命令后增加 --unsafe-perm
sudo npm install -g appium@1.15 --unsafe-perm


↙↙↙阅读原文可查看相关链接,并与作者交流