Skip to content
Edith

Use case

Clean Up a Full Mac Disk With Edith

A routine for the day macOS says your startup disk is almost full, with every deletion going to the Trash first.

Updated by

The problem

A full disk rarely has one cause. On a Mac used for work it is usually a mix of build caches, package downloads, old project folders, a few huge files you forgot about, and apps you stopped using months ago, each with support files left in your Library folder. Storage settings show the categories but not which items are safe to remove, and deleting the wrong folder by hand can cost you real work.

This routine uses four Edith extensions in order, from the safest wins to the ones that need a decision, and everything it removes goes to the Trash first.

The setup

  1. 1

    Quit the heavy apps

    Caches in use cannot be cleared cleanly, and quitting frees memory and swap too. Running Apps lists every open app with its CPU and memory use; click the CPU or Memory column to sort and quit the biggest ones from there. Apps with unsaved work ask before closing, and Finder and Edith always stay open.

  2. 2

    Trash the rebuildable caches

    Open Cleaner and click Scan my Mac. It finds build caches, package downloads and old Xcode data. Open each category, untick what you want to keep, and click Move to Trash. On a developer Mac this is often the biggest win, and the lowest risk.

  3. 3

    Sweep old projects

    Click Choose where to search… and add your projects folder, then scan again to find build output, node_modules, virtual environments and git worktrees. The Untouched for filter keeps the list to things you have not touched in a while.

  4. 4

    Find the big files

    Switch Cleaner to its Disk Map tab and choose your home folder. It draws the folder as blocks sized by the space they use. Click into the biggest blocks, reveal a file in Finder to check it, and move it to the Trash if you no longer need it. The Files tab lists large, old and duplicate files with filters.

  5. 5

    Remove apps you do not use

    In App Updates, open Remove and pick an app on the left. Edith lists the app and the Library files named after its bundle identifier. Untick anything to keep, and move the rest to the Trash.

  6. 6

    Empty the Trash

    Nothing above frees space until the Trash is emptied. Check it once more, then empty it. Until then, Cleaner's Restore tab puts items back where they were.

From the terminal

If you prefer to script the routine, each step has a command. Anything that removes something previews until you add --yes, so run it once without to see the totals.

Terminal
ed cleaner scan --root ~/codeed cleaner clean --category derivedData --yesed app-updates remove /Applications/Example.app --yes

Why this order works

The steps go from things that are always safe to remove to things that need a decision. Caches and build output come back on their own the next time a tool needs them, so the only cost of trashing them is a slower first build or a fresh package download. Old project folders and worktrees need a glance, because a branch you forgot about might still matter, which is why Cleaner leaves dirty ones alone. Big files found in Disk Map and apps you stopped using are a judgement call, so they come last, after the easy space is already back.

Every step moves items to the Trash rather than erasing them. That means you can do the whole routine in one sitting, keep using the Mac for a day, and only empty the Trash once you are sure nothing you need went with it. If something did, Cleaner's Restore tab or Finder's Put Back returns it to its original place.

Pitfalls

  • Leave Delete permanently off. Cleaner can erase items instead of moving them to the Trash. It is off for every new clean; keep it that way unless you are sure, so Restore still works. On the command line, ed cleaner clean --yes with no category takes everything the scan found, so pass --category.
  • Xcode archives hold crash symbols. Keep archives for builds you still ship. Cleaner leaves them unticked by default in the app.
  • Dirty worktrees are left alone. Cleaner lists worktrees with uncommitted changes or unpushed commits apart and does not remove them. Removing a clean one keeps its branch and commits.
  • Simulators are not caches. Cleaner clears simulator caches but leaves devices alone. Run xcrun simctl delete unavailable after an Xcode upgrade.
  • Free space can lag. macOS may take a moment to show the new free space after the Trash is emptied.

Go deeper

How to free disk space on a Mac for developers covers the built-in commands for each cache, including du, brew cleanup and xcrun simctl, and when each one is the better tool.

One app. Every tool your Mac is missing.

Pay once · No account · 30-day refund · macOS 14+ on Apple silicon