Skip to content

ANGRYCONE/macOS-System-Cleaner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

86 Commits
 
 
 
 

Repository files navigation

macOS System Cleaner

macOS Version Downloads

What This Script Does

This script performs a full system cleanup on macOS. Here's what it takes care of:

  • Deletes user caches from ~/Library/Caches
  • Deletes system caches from /Library/Caches (CONFIRMED SAFE, even with SIP disabled.)
  • Thins Time Machine local snapshots to free up disk space
  • Resets Spotlight indexing for better search performance
  • Empties the trash
  • Deletes download cache from Google Chrome
  • Deleted CacheStorage from Google Chrome
  • Deletes that stupid AI optimization that does nothing from Google Chrome (If you think it's useful, it does regenerate later on.)
  • Deletes Xcode build cache (OPTIONAL)
  • Deletes Xcode simulation core (OPTIONAL WITH TRIPLE CHECK)
  • Deletes Roblox's rbx-storage.db (Roblox caches, can get really big.)
  • Deletes Safari Caches
  • Deletes mediaanalysisd caches
  • Deletes wallpaper agent caches
  • Deletes geod caches
  • Deletes Messages caches

Warning: This script requires the terminal to have full disk access.

Install Instructions (First Method)

Install via Homebrew:

brew install ANGRYCONE/mclean/mclean

Or:

brew tap ANGRYCONE/mclean
brew install mclean

Update:

brew reinstall mclean

Install Instructions (Second Method)

Download the latest macOS Cleaner Script

Open Terminal and run the following commands:

commands:

cd Downloads

chmod +x macos_cleaner.sh

./macos_cleaner.sh

License

Custom license – see LICENSE for details.
You may use this script, but you may not redistribute or include it in other tools without permission.
Distribution is restricted to the official source maintained by the author.

About

mclean, a simple macOS system data cleaner. Takes less than 1 minute to setup.

Topics

Resources

License

Stars

2 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors