macOS Storage Cleanup Tool

Scan. Review. Reclaim.

The open-source macOS cleanup utility for developers. Find the junk hiding in caches, logs, and vague categories like System Data — and remove it safely, transparently, without ever leaving the terminal.

curl -fsSL https://raw.githubusercontent.com/viniciussouzao/tidymymac/main/install.sh | sh
MIT license v1.1 Go 1.26+ dry-run by default 14 cleaners

// demo

A cleanup tool that shows its work

Every file is shown before removal. Nothing happens silently, nothing happens without you.

tidymymac — zsh

The interactive demo opens the dashboard and scans the Mac, selects cleanup categories, reviews the files found, and finishes with a dry-run summary showing what could be reclaimed without deleting anything.

// features

Built for people who read man pages

No daemons, no background agents, no magic. A single binary that inspects first and deletes only what you approve.

Interactive TUI

Browse categories, see sizes, and select exactly what to clean from a keyboard-driven interface.

Dry-run by default

Scanning and reviewing never touches a file. Deletion only happens with an explicit --execute.

Protected paths

A hard block no cleaner can ever touch — whatever flags you pass. No CLI override exists.

14 modular cleaners

From ~/Library/Caches to Docker, Xcode and node_modules — target one or all.

Named profiles

Bundle the categories and project directories you clean together, then run them in one command.

JSON & CSV export

Pipe scan results anywhere. Save timestamped reports, or feed them to your own tooling.

Script generation

Turn any scan into a reviewable shell cleanup script with --generate-script.

Progress & summary

Live progress while scanning and a full summary of reclaimed space when you're done.

// cleaners

One binary, fourteen ways to tidy

Every cleaner is modular and independently targetable: tidymymac clean docker caches xcode

SAFE regenerable junk CAUTION review first sudo needs elevation

// safety first

Deletion is a decision,
not a side effect

TidyMyMac was designed with safety as the primary concern. It inspects first, reviews before deleting, and stays fully terminal-native.

  • Dry-run by default — scanning and reviewing never touches your files
  • Explicit confirmation — deletion only happens with --execute
  • Protected paths are a hard block — no flag overrides them
  • No silent operations — every file is shown before removal
  • Errors are non-fatal — one failure won't stop the rest
protect what matters

# Never delete anything under this path, whatever flags are passed

$ tidymymac protect --path ~/Documents/Work

# Preview what would be deleted (dry-run, default)

$ tidymymac clean

# Actually delete — only after you've reviewed

$ tidymymac clean --execute

SAFE CAUTION DO NOT TOUCH — the same badges the TUI shows you

// install

Up and running in seconds

Pick your poison. Then just run tidymymac.

# Install the latest release to /usr/local/bin

$ curl -fsSL https://raw.githubusercontent.com/viniciussouzao/tidymymac/main/install.sh | sh

# Pin a version or choose the install dir via env vars

$ TIDYMYMAC_VERSION=v1.1 … | sh

requires macOS · full disk access recommended for Trash & a few other categories