安装语句:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
以nginx为例:
brew 搜索软件: brew search nginx
brew 安装软件:brew install nginx
brew 卸载软件:brew uninstall nginx
brew 升级:brew update nginx
安装信息(比如安装目录等):brew info nginx
查看安装的软件:brew list