列出已安装的软件
brew list
# 包含软件版本号
brew list --versions
安装软件
brew install nginx
卸载软件
brew uninstall nginx
查看是否需要更新
brew outdated
更新软件
brew upgrade nginx
清理旧版本包缓存
brew cleanup
检索软件库
brew search wget
检测Homebrew
brew doctor
列出brew services运行中服务
brew services list
运行服务
brew services run nginx
# 后台运行服务
brew services start nginx