Open-source, self-hostable backend platform for building apps, offering Auth, Databases, Storage, Functions, Messaging, Realtime, Hosting and MCP access for agents.
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
CasaOS is an open-source personal cloud system for home servers that adds a web UI for managing files, storage and Docker apps.
A tiling window manager for macOS that automatically arranges windows using binary space partitioning, controlled via a command line interface.
A privacy-first PDF toolkit that edits, converts, merges, and secures PDFs entirely in the browser, and can be self-hosted as static files.
A self-hosted Docker dashboard that aggregates dozens of public OSINT feeds (aircraft, ships, satellites, earthquakes, CCTV, radio) onto one live map with an optional AI agent interface.
Open-source graph-based OSINT investigation platform that links entities like domains, IPs, emails and wallets through automated enrichers.