Mac下開發 - 軟件包包管理 Homebrew

Homebrew是什麼

Homebrew都是Mac OS X上的軟件包管理工具 ,Homebrew是一個Ruby開發的智能的包管理系統。她能判斷系統包的情況,並可以依賴系統已有的組件,不用從新下載一陣套組件。git

Homebrew is the easiest and most flexible way to install the UNIX tools Apple didn’t include with OS X.

地址:http://brew.sh/github

如何安裝

打開'終端'(應用程序-實用工具-終端)
輸入golang

ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"

試用

安裝

brew install golang

搜索軟件

brew search golang

其餘

輸入brew命令會顯示命令列表,查看幫助 man brewruby

相關文章
相關標籤/搜索