轉載請註明出處:
http://blog.csdn.net/aa464971/article/details/70336331
http://dyhdyh.com/archives/268.html
1.命令行工具中執行命令
ruby -e "$(curl --insecure -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
2.出現 Press RETURN to continue or any other key to abort
,按回車,輸入系統密碼回車,然後就會開始下載。
出現Installation successful
說明安裝成功了
3.輸入brew
測試一下吧