This script is an open-sourced alternative for App Cleaner on Mac OS
The script is created following Sun Knudsen's How to clean uninstall macOS apps using AppCleaner open source alternative tutorial. The repo is set up so that people can clone and contribute to make it better.
Tap can be found in my homebrew-taps repo
brew install turboninh/taps/uninstall-cli
or
brew tap turboninh/taps
brew install uninstall-cli
- Clone the repo into your computer. Put it somewhere static.
- Create an alias in your shell by adding this line
then source your shell.
alias uninstall="~/<your_cloned_path>/uninstall-cli.sh"
- Usage: In your terminal,
uninstall /Applications/<name_of_your_evil_app>.app
uninstall-cli.sh /Applications/app_name.app