1.安装
依赖xcode或Command Line Tools for Xcode
xcode-select --install
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
在线查看package:http://braumeister.org/
2.常用命令
brew install pkg-name
brew search pkg-name
brew uninstall pkg-name
brew list 列出已安装的软件
brew update
brew home 用浏览器打开brew的官方网站
brew info 显示软件信息
brew deps 显示包依赖
brew search 显示所有可安装的包
文件安装目录:/usr/local/Cellar
3.安装Homebrew cask (“To install, drag this icon…” no more!)https://caskroom.github.io/
brew install caskroom/cask/brew-cask
brew cask search name
brew cask install name
brew cask uninstall name
brew cask search