brew安裝命令如下:
curl -LsSf http://github.com/mxcl/homebrew/tarball/master | sudo tar xvz -C/usr/local --strip 1
ant安裝
sudo brew install ant
碰到可能碰到類似問題:
MacBook-Air:appium tenda$ sudo brew install ant
Error: Running Homebrew as root is extremely dangerous and no longer supported.
As Homebrew does not drop privileges on installation you would be giving all
build scripts full access to your system.
提升權限即可解決:
sudo chown -R $(whoami):admin /usr/local
