How to clean uninstall apps on macOS using AppCleaner open source alternative

How to clean uninstall apps on macOS using AppCleaner open source alternative - YouTube

Guide

Step 1: create /usr/local/bin folder

sudo mkdir -p /usr/local/bin
sudo chown $(whoami):admin /usr/local/bin

Step 2: download app-cleaner.sh (PGP signature, PGP public key)

curl -o /usr/local/bin/app-cleaner.sh https://sunknudsen.com/static/media/privacy-guides/how-to-clean-uninstall-apps-on-macos-using-appcleaner-open-source-alternative/app-cleaner.sh
chmod +x /usr/local/bin/app-cleaner.sh

Usage

$ app-cleaner.sh /Applications/AppCleaner.app
Checking for running processes...
Finding application data...
/Applications/AppCleaner.app
/Users/johndoe/Library/Preferences/net.freemacsoft.AppCleaner.plist
/Users/johndoe/Library/Saved Application State/net.freemacsoft.AppCleaner.savedState
Move application data to trash (y or n)? y
Moving application data to trash...
Done
Contributors:Sun KnudsenSun Knudsen
Reviewers:Be the first

Wish to contribute or need help? Read the docs.
This website is not tracking you. PGP public key fingerprint: C4FB DDC1 6A26 2672 920D  0A0F C132 3A37 7DE1 4C8B