安装

一般应用

# 检查过时应用
brew outdated
# 升级
brew update && brew upgrade
# 清除安装包
brew cleanup --prune=10

可视化应用

# 首先确保本命令执行过
brew tap buo/cask-upgrade
# 检查过时
brew cask outdated
# 升级
brew cu -a -y --cleanup
# 清除安装包
brew cask cleanup --outdated

参考资料