How to uninstall .pkg installation? #408
-
I downloaded the latest arm64.pkg release and installed it, but I would like to switch to homebrew now. How do I uninstall the cli? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Yeah, that's surprisingly difficult. 😕 You should (caveat: what follows is largely untested) be able to manually uninstall the package, by first removing all files returned by These pkg files suck. I'm beginning to wonder if we should just focus on Homebrew as the sole recommended way of installation, and just drop the pkgs altogether. 🤔 Footnotes |
Beta Was this translation helpful? Give feedback.
Yeah, that's surprisingly difficult. 😕
You should (caveat: what follows is largely untested) be able to manually uninstall the package, by first removing all files returned by
pkgutil --files de.mittwald.cli
(in the installation directory returned bypkgutil --pkg-info de.mittwald.cli
) and then "forgetting" the package by runningpkgutil --forget de.mittwald.cli
.1These pkg files suck. I'm beginning to wonder if we should just focus on Homebrew as the sole recommended way of installation, and just drop the pkgs altogether. 🤔
Footnotes
https://apple.stackexchange.com/a/371560 ↩