brew-autoremove
移除先前作为依赖安装的,当前未使用的软件包。 更多信息:https://docs.brew.sh/Manpage#autoremove---dry-run.
brew autoremove
brew autoremove {{[-n|--dry-run]}}