mole is a command line tool to clean up your OSX install:

myMac:~ username$ mole --help __ __ _ | \/ | ___ | | ___ | |\/| |/ _ \| |/ _ \ | | | | (_) | | __/ https://mole.fit |_| |_|\___/|_|\___| Deep clean and optimize your Mac. COMMANDS mo Main menu mo clean Free up disk space mo uninstall Remove apps completely mo optimize Refresh caches and services mo analyze Explore disk usage mo status Monitor system health mo history Review cleanup activity mo purge Remove old project artifacts mo installer Find and remove installer files mo touchid Configure Touch ID for sudo mo completion Setup shell tab completion mo update Update to latest version mo remove Remove Mole from system mo --help Show help mo --version Show version mo clean --dry-run Preview cleanup mo clean --whitelist Manage protected caches mo optimize --dry-run Preview optimization mo optimize --whitelist Manage protected items mo uninstall --dry-run Preview app uninstall mo history --json Export cleanup history [...]
Free command line version at github or install with homebrew
curl -fsSL https://raw.githubusercontent.com/tw93/mole/main/install.sh | bash OR brew install mole
a commercial GUI Version for supporting the developer is there too.
