🗑️ Cleanup script for macOS (DEPRECATED)
See the codebrew tap fwartner/tap
brew install fwartner/tap/mac-cleanup
If 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 install
wget https://raw.githubusercontent.com/mac-cleanup/mac-cleanup-sh/main/installer.sh -O - | bash -s install
curl -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 update
wget "https://raw.githubusercontent.com/mac-cleanup/mac-cleanup-sh/main/installer.sh" -O - | bash -s update
curl -fsSL "https://raw.githubusercontent.com/mac-cleanup/mac-cleanup-sh/main/installer.sh" | bash -s uninstall
wget "https://raw.githubusercontent.com/mac-cleanup/mac-cleanup-sh/main/installer.sh" -O - | bash -s uninstall
Help 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!
1,801 followers · starred Nov 2022
188 followers · starred Jun 2018
193 followers · starred Jun 2022
63 followers · starred Mar 2024
🗑️ Cleanup script for macOS (DEPRECATED)
See the codebrew tap fwartner/tap
brew install fwartner/tap/mac-cleanup
If 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 install
wget https://raw.githubusercontent.com/mac-cleanup/mac-cleanup-sh/main/installer.sh -O - | bash -s install
curl -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 update
wget "https://raw.githubusercontent.com/mac-cleanup/mac-cleanup-sh/main/installer.sh" -O - | bash -s update
curl -fsSL "https://raw.githubusercontent.com/mac-cleanup/mac-cleanup-sh/main/installer.sh" | bash -s uninstall
wget "https://raw.githubusercontent.com/mac-cleanup/mac-cleanup-sh/main/installer.sh" -O - | bash -s uninstall
Help 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!
1,801 followers · starred Nov 2022
188 followers · starred Jun 2018
193 followers · starred Jun 2022
63 followers · starred Mar 2024