1. mac安装homebrew终端命令
/usr/bin/ruby -e "$(curl -fsSL https://cdn.jsdelivr.net/gh/ineo6/homebrew-install/install)"
2. homebrew常用命令
2.1 安装软件
brew install nginx(软件名)
2.2 卸载软件
brew uninstall nginx(软件名)
2.3 显示已安装的包
brew list
2.4 搜索软件
brew search nginx
2.5 升级软件
brew upgrade nginx //不指定软件名称则更新所有可以更新的软件
2.6 升级homebrew
brew update
3. 常见软件安装
3.1 安装maven
brew install maven