Repolode
hkdobrev

hkdobrev/cleanmac

A shell script that cleans caches, logs, temp files and other clutter from macOS, as a free alternative to paid cleaner apps.

Open-source alternative to:CleanMyMacCCleaner

Archived by owner

Stars
820
Forks
58
Open issues
0
Last commit
3 months ago

What is it?

cleanmac is a shell script for macOS that removes unnecessary files such as system and user caches, application logs, temporary files and the Trash to free up disk space. It also targets developer-specific clutter, including Xcode derived data and archives, npm and yarn caches, and unused Docker images and containers.

The script accepts a number of days to control how much recent cache to keep, defaulting to 7. A dry-run flag lists what would be deleted without removing anything, so you can review changes first.

The project is archived. Its README recommends the Mole project as the actively maintained replacement.

Key features

  • 01Removes system and user cache files and application logs
  • 02Empties the Trash and clears temporary files
  • 03Cleans Safari caches, Xcode derived data and archives
  • 04Cleans npm and yarn caches and unused Docker images and containers
  • 05Supports a dry-run mode to preview deletions

Use cases

  • Freeing disk space on a Mac used for iOS or macOS app development
  • Periodically clearing caches and logs from the command line
  • Previewing cleanup results before deleting anything

Topics

FAQ

What is cleanmac?
A shell script that cleans caches, logs, temp files and other clutter from macOS, as a free alternative to paid cleaner apps. cleanmac is a shell script for macOS that removes unnecessary files such as system and user caches, application logs, temporary files and the Trash to free up disk space. It also targets developer-specific clutter, including Xcode derived data and archives, npm and yarn caches, and unused Docker images and containers.
Is cleanmac free to use? What license does it have?
cleanmac is open source under the MIT license. Check the license terms before using it in commercial products.
Is cleanmac still maintained?
No. cleanmac has been archived by its owner and no longer receives updates.
What can I use cleanmac for?
Freeing disk space on a Mac used for iOS or macOS app development Periodically clearing caches and logs from the command line Previewing cleanup results before deleting anything
Where can I get cleanmac?
The source code and installation instructions are on GitHub: https://github.com/hkdobrev/cleanmac

Summary generated by AI from the project's README. GitHub stats refresh daily.

Related projects