Latest / Developer tools

cleanmac

github.com · Open source · Archived

Shell script that clears temporary files and caches on macOS

Visit github.com ↗Share

  • mac cleanup script
  • clear mac caches
  • macos disk cleaner
  • free mac cleaner
  • shell cleanup macos
Stars
820
Forks
58
Open issues
0
Last commit
Found
2 years ago

GitHub figures as of . They are context, not a ranking.

cleanmac is an open source shell script that removes old temporary files and caches from a Mac, as a free alternative to paid cleaning apps. Contributors are invited to add other unused files to clean. It suits macOS users who are comfortable running a script to free up storage.

Positioned as an alternative to Mole.

Repository description on GitHub: “Clean your macOS with a script, not an expensive app”

What it does

  • Removes caches, logs and temporary files on macOS
  • Empties the Trash and clears Safari caches and Xcode derived data
  • Dry-run mode previews changes before deleting
  • Keeps cache for a configurable number of days, 7 by default

Good for

  • Preview which caches a macOS cleanup would remove
  • Free up disk space by clearing old caches and logs

Suits: macOS users comfortable running a shell script to free storage.

Worth knowing: The project is archived, and the readme recommends Mole instead.

What you can try

Read the README on GitHub and install from source.

Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.

Found vs. released

Kip first saw cleanmac on , when hkdobrev posted it to Show HN. GitHub listed no published releases for hkdobrev/cleanmac when checked , so the project may ship straight from its main branch. The repository was created .

Day-7 and day-30 updates

Day 7 archived

  • No tagged release was published in the first 7 days after it was found (GitHub release dates).
  • The repository was archived (read-only) when checked.
  • Show HN discussion at check time: 44 points, 19 comments. API record

Checked , later than day 7 because tracking began after.

Day 30 archived

  • No tagged release was published in the first 30 days after it was found (GitHub release dates).
  • The repository was archived (read-only) when checked.
  • Show HN discussion at check time: 44 points, 19 comments. API record

Checked , later than day 30 because tracking began after.

Release timeline every entry links to its source

  1. Repository created on GitHub: hkdobrev/cleanmac
  2. Found: hkdobrev posted it to Show HN. Show HN
  3. Day-7 check recorded by Kip (details)
  4. Day-30 check recorded by Kip (details)

Quick answers

When was cleanmac released?
No dated release record is available. Kip found it on Show HN on 26 Nov 2024.
Is cleanmac open source?
Its source is public on GitHub at hkdobrev/cleanmac under the MIT licence.
What does cleanmac run on?
macOS, Command line.
Is cleanmac free?
It is open source, so the code is free to read and run; check the licence for terms.
Is cleanmac still maintained?
No. The repository is archived (read-only).

Provenance

SourceRecordLast checked
Show HNlisting
official API record
GitHub repositoryhkdobrev/cleanmac
REST API record
GitHub Releasesrelease list
REST API record

Stable ID hn-42250429. Summary written by KipFound’s editor.

Share

Similar tools

More in Developer tools

Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.