A script to clean your Mac and analyze disk space.
gem install mac_cleanergem install ./mac_cleaner-1.2.2.gemgit clone https://github.com/ojisanchamchi/mac_cleaner.git
cd mac_cleaner
rake installmac_cleaner clean--dry-run,-n: Perform a dry run without deleting files.--sudo: Run with sudo for system-level cleanup.--interactive,-i: Review each section and choose what to clean before anything runs.
mac_cleaner --versionmac_cleaner analyze [PATH]PATH: The path to analyze. Defaults to~.