mac cleanup sh
v1.1.9: Merge pull request #89 from jrodan
brew tap fwartner/tap
brew install fwartner/tap/mac-cleanupIf you'll see
Error: SHA256 mismatchtry this:
- Copy "Actual" hash from error
- Run
brew edit fwartner/tap/mac-cleanup- Press
Iand changesha256 "<some hash>"with hash from step 1- Press
:, thenwqandEnter- Re-run installation
brew install fwartner/tap/mac-cleanup
curl -fsSL https://raw.githubusercontent.com/mac-cleanup/mac-cleanup-sh/main/installer.sh | bash -s installwget https://raw.githubusercontent.com/mac-cleanup/mac-cleanup-sh/main/installer.sh -O - | bash -s installcurl -o cleanup https://raw.githubusercontent.com/mac-cleanup/mac-cleanup-sh/main/mac-cleanupchmod +x cleanupsudo mv cleanup /usr/local/bin/cleanupIf installing with curl you need to call cleanup instead of mac-cleanup.
curl -fsSL "https://raw.githubusercontent.com/mac-cleanup/mac-cleanup-sh/main/installer.sh" | bash -s updatewget "https://raw.githubusercontent.com/mac-cleanup/mac-cleanup-sh/main/installer.sh" -O - | bash -s updatecurl -fsSL "https://raw.githubusercontent.com/mac-cleanup/mac-cleanup-sh/main/installer.sh" | bash -s uninstallwget "https://raw.githubusercontent.com/mac-cleanup/mac-cleanup-sh/main/installer.sh" -O - | bash -s uninstallHelp menu:
$ mac-cleanup -h
A Mac Cleanup Utility by fwartner
https://github.com/mac-cleanup/mac-cleanup-sh
USAGE:
mac-cleanup [FLAGS]
FLAGS:
-h, --help Prints help menu
-d, --dry-run Print approx space to be cleaned
-v, --verbose Print script debug info
-u, --update Run brew update
This project exists thanks to all the people who contribute.
If you like what I am doing please consider sponsor my work!