即使你的软件不是用 Homebrew 安装的,你也可以用它来卸载(加 --force),还可以加上 --zap 让 Homebrew 把该软件所有关联的数据文件都删除(可以用 brew cat 查看具体包括哪些文件),如 brew uninstall --cask --force --zap zoom

ref:

王子亭 on Twitter: "即使你的软件不是用 homebrew 安装的,你也可以用它来卸载(加 --force),还可以加上 --zap 让 homebrew 把所有关联的数据文件都删除(可以用 brew cat 查看具体包括哪些文件),如 brew uninstall --cask --force --zap zoom pic.twitter.com/e2U3vASvbE / Twitter"

Homebrew Documentation 上有对 zap 参数的详细解释:

The zap stanza describes a more complete uninstallation of files associated with a Cask. The zap procedures will never be performed by default, but only if the user uses --zap on uninstall:

$ brew uninstall --zap firefox

zap stanzas may remove:

zap stanzas should not remove:

Appending --force to the command will allow you to perform these actions even if the Cask is no longer installed:

brew uninstall --zap --force firefox

ref:

Cask Cookbook