# Disk Census > Disk Census is a native macOS app that scans a Mac's disk, shows what uses the space, and frees what is safe to free: caches, build output, old app data, duplicates, large forgotten files and AI agents' leftovers. Scanning is read-only; deleting is permanent and happens only when a person approves it or asks for it. Its engine also ships inside the app as the `census` command line, for scripts and AI agents. This file is for AI agents and LLMs. Disk Census is made by Moiz, in London. - Areas: Overview, Large Files, Apps (uninstall with leftovers), DevTools, AI Agents, Duplicates, Optimize (maintenance tasks), Empty Trash, plus a widget and a low-space monitor. - Developer-aware: knows the caches and build output of Xcode, Homebrew, npm, pnpm, Yarn, Cargo, Go, Python and more, and which rebuild themselves. - Never surprise-deletes: safe items go only when the person asks to clean, everything else only when they pick it, and nothing goes to the Trash. - `census` ships inside the app, not as a separate download. People turn it on in their shell from the app's CLI and Agents tab. - Runs on macOS 12 or later, on Apple silicon and Intel Macs. - A one-time purchase: a lifetime license for up to 3 Macs. Each Mac checks in online at least once every 60 days. Refunds within 14 days if it isn't as described. - Files and scan results never leave the Mac. - Support: support@diskcensus.com or X (https://x.com/moz_281), usually answered within 48 hours. ## Documentation - [Full description](https://diskcensus.com/llms-full.txt): Every feature, who makes Disk Census, how deletion works, the rules for AI agents using `census`, requirements, licensing, pricing, privacy and common questions, in one Markdown file - [Docs index](https://diskcensus.com/docs.md): Every page of the `census` command line and AI agents docs, as Markdown. Add `.md` to any /docs page's URL, or send `Accept: text/markdown`, to get its Markdown - [The census command line](https://diskcensus.com/docs/cli.md): What `census` does, how to turn it on, and every command with whether it only reads or deletes - [JSON output](https://diskcensus.com/docs/cli/json.md): The `--json` envelope every command prints, statuses, paths, sizes and progress events - [Exit codes and errors](https://diskcensus.com/docs/cli/errors.md): Every exit code and error code, and what to do about each - [Rules for agents](https://diskcensus.com/docs/agents/rules.md): What an AI agent may run, what needs the person's yes, and what it must never do when it frees disk space with `census` - [The workflow](https://diskcensus.com/docs/agents/workflow.md): Step by step for each request: clean junk, review, duplicates, large files, uninstall, maintenance and the Trash - [census serve](https://diskcensus.com/docs/agents/serve.md): The JSON-lines protocol the app uses to talk to the engine, for any program ## Website - [Disk Census](https://diskcensus.com/): What the app does, the AI agents it works with, pricing and common questions - [Features](https://diskcensus.com/features.md): Every feature by what it's for, each with its own page - [Pricing](https://diskcensus.com/pricing.md): The current launch price, the price ladder, what one purchase covers, and what 13 other Mac storage apps cost and cover, in one table - [Questions](https://diskcensus.com/#faq): Short answers on safety, compatibility, developer files and agents ## Features One page per feature: what it does, how it works, and what to know before using it. The links below are the Markdown versions; drop `.md` for the web page. - [Safe to Clean](https://diskcensus.com/features/safe-to-clean.md): Disk Census finds the caches, logs, build output and old versions that rebuild on their own, and cleans them in one click after you check the list. - [Developer Tools](https://diskcensus.com/features/developer-tools.md): Xcode DerivedData, package caches and build output, grouped by tool and marked Safe, Review or Keep, so you free space without breaking your setup. - [AI Agents](https://diskcensus.com/features/ai-agents.md): Old versions, caches and logs left by Claude Code, Codex, Cursor and other AI coding agents, found and cleaned while their history and settings stay. - [Apps](https://diskcensus.com/features/uninstall-apps.md): Remove an app together with its caches, settings and support files. Disk Census ticks only what it can tie to the app, and you decide on the rest. - [Leftovers](https://diskcensus.com/features/app-leftovers.md): Find the caches, settings and support files that apps you already deleted left in your Library, and delete them after review. - [Trash](https://diskcensus.com/features/empty-trash.md): See every Trash on your Mac, including iCloud Drive’s and those on external drives, sort what’s in it, and empty all of it or only what you pick. - [Excluded items](https://diskcensus.com/features/exclusions.md): Untick an item in Safe to Clean and Disk Census leaves it out of every later clean, in the app and in the census command line. - [Search](https://diskcensus.com/features/search.md): Find any file or folder in the last scan by name, ignoring case and accents, filter it by kind, size, date and place, and delete what you’re done with. - [Change](https://diskcensus.com/features/space-history.md): See how used space grew or shrank over the last hour, day, week or month, and which kinds of files grew most, in the app, the menu bar and Terminal. - [Scans](https://diskcensus.com/features/scan-any-folder.md): Scan the startup disk, your home folder or any folder, browse it down to the file, and rescan in a fraction of the first scan’s time. - [Large Files](https://diskcensus.com/features/large-files.md): Your biggest files in one list, with when you last opened each one and where it is, filtered by size and by how long since you used it. - [Duplicates](https://diskcensus.com/features/duplicates.md): Disk Census finds identical files by their contents and shows each set side by side, so you keep the copy you want. It never deletes the last copy. - [Projects](https://diskcensus.com/features/projects.md): node_modules, Cargo target and Python .venv folders, grouped by project and sorted by size, so you can clear the projects you’re done with. - [Hidden space](https://diskcensus.com/features/hidden-space.md): Space no file accounts for, like local snapshots and folders macOS keeps private, shows as Hidden space, so the totals match what Disk Utility reports. - [Optimize](https://diskcensus.com/features/optimize.md): A read-only checkup shows what’s worth fixing on your Mac, like missing apps in Open With or old Homebrew versions, and one Fix button runs what you tick. - [Widget](https://diskcensus.com/features/widget.md): A desktop widget shows how full your disk is and how much is safe to clean, and Disk Census tells you when space runs low. - [Activity](https://diskcensus.com/features/disk-activity.md): Your drive’s health from its own report, how much it has written today, its reads and writes over time, and which apps do the reading and writing. - [Menu bar](https://diskcensus.com/features/menu-bar.md): Free space in your Mac’s menu bar, with tabs for an overview, live disk activity, how used space changed, and a clean that lists every item first. - [Updates](https://diskcensus.com/features/updates.md): One purchase covers every future version. Disk Census checks for updates once a day and installs a new version only when you say so. - [Light and Dark](https://diskcensus.com/features/appearance.md): Disk Census follows your Mac’s appearance, or you can set Light or Dark for it alone in Settings. Its Dark is a warm coffee brown, not plain black. - [Command line](https://diskcensus.com/features/command-line.md): Everything Disk Census does, in Terminal: scan, find, clean and maintain with the census command, with JSON output for scripts and AI agents. - [Agent setup](https://diskcensus.com/features/agent-setup.md): Tick Claude Code, Codex, Gemini CLI or another agent in Disk Census, and it can check your disk and clean up with census, asking before it deletes. ## Comparisons Disk Census against other Mac storage apps, one page per app. Each page lists what only Disk Census does, a side-by-side table, both prices, and when the other app is the better pick, with every fact about the other app linked to its own site and dated. The links below are the Markdown versions; drop `.md` for the web page. - [Disk Census vs DaisyDisk](https://diskcensus.com/compare/daisydisk.md): A map of your disk, or a cleanup that knows what's safe - [Disk Census vs CleanMyMac](https://diskcensus.com/compare/cleanmymac.md): Pay once and keep every version, with developer files covered - [Disk Census vs Mole](https://diskcensus.com/compare/mole.md): One app and CLI under one license, with agent history kept - [Disk Census vs MangoDisk](https://diskcensus.com/compare/mangodisk.md): Free and cross-platform, or Mac-only with AI agents' leftovers - [Disk Census vs DiskBuddy](https://diskcensus.com/compare/diskbuddy.md): Review-first on both, plus AI agents' leftovers and a CLI - [Disk Census vs StorageRadar](https://diskcensus.com/compare/storageradar.md): Agents that can clean what you approve, not only read - [Disk Census vs DissectMac](https://diskcensus.com/compare/dissectmac.md): From a map of the disk to a cleanup that knows your tools - [Disk Census vs GrandPerspective](https://diskcensus.com/compare/grandperspective.md): Beyond the treemap: what's safe to remove, and why - [Disk Census vs OmniDiskSweeper](https://diskcensus.com/compare/omnidisksweeper.md): Largest first, plus what each item is and whether it rebuilds - [Disk Census vs AppCleaner](https://diskcensus.com/compare/appcleaner.md): Uninstall apps, and everything else that fills the Mac - [Disk Census vs Pearcleaner](https://diskcensus.com/compare/pearcleaner.md): An uninstaller is one part of Disk Census - [Disk Census vs DevCleaner for Xcode](https://diskcensus.com/compare/devcleaner.md): Xcode, and every other tool on the Mac - [Disk Census vs Pretty Clean](https://diskcensus.com/compare/prettyclean.md): Developer cleanup with the tools named and the tiers explained ## How-tos Step-by-step guides to seeing, freeing and keeping storage on a Mac, built only from Apple's documentation and, for developer tools, each tool's own docs. The links below are the Markdown versions; drop `.md` for the web page. - [How to see what’s using your Mac’s storage](https://diskcensus.com/blogs/see-whats-using-your-mac-storage.md): Storage settings show how full your disk is, which kinds of files take the most space, and the large files you can remove. - [How to free up space on your Mac](https://diskcensus.com/blogs/free-up-space-on-your-mac.md): Start with the recommendations built into macOS, then remove the files, apps and backups you no longer need. - [What System Data means in your Mac’s storage](https://diskcensus.com/blogs/what-is-system-data-on-mac.md): What Apple says System Data holds, why you can’t clear it from Storage settings, and what does help. - [Why is System Data taking so much space on your Mac?](https://diskcensus.com/blogs/why-is-system-data-so-big-on-mac.md): What makes System Data grow, what to check first, and the ways Apple gives to make it smaller. - [Why your Mac has less free space after the macOS 27 update](https://diskcensus.com/blogs/mac-storage-after-macos-27-update.md): Apple hasn’t announced a storage bug in macOS 27 Golden Gate, but a few things Apple documents do take extra space after an update. - [What is purgeable space on a Mac?](https://diskcensus.com/blogs/what-is-purgeable-space-on-mac.md): Why your Mac counts some used space as available, what purgeable files are, and whether you can clear them yourself. - [How to make room when there isn’t enough space to update macOS](https://diskcensus.com/blogs/not-enough-space-to-update-macos.md): What to do when a macOS update says your Mac doesn’t have enough storage space, from the quickest fixes to safe mode. - [How to delete old iPhone and iPad backups on your Mac](https://diskcensus.com/blogs/delete-iphone-backups-on-mac.md): Where your Mac keeps iPhone and iPad backups, how much space they use, and how to delete or archive them. - [How to stop Messages taking up so much space on your Mac](https://diskcensus.com/blogs/messages-taking-up-space-on-mac.md): How to see how much space Messages uses, delete large attachments, and have old conversations removed for you. - [How to uninstall apps on your Mac](https://diskcensus.com/blogs/uninstall-apps-on-mac.md): Quit the app, use its uninstaller if it has one or move it to the Trash, then empty the Trash. - [How to clear developer caches on your Mac](https://diskcensus.com/blogs/clear-developer-caches-on-mac.md): Xcode, Homebrew, npm and Docker each have their own way to give space back, set out in their own documentation. - [What is DerivedData in Xcode, and how do you clean it?](https://diskcensus.com/blogs/what-is-xcode-derived-data.md): What Xcode keeps in DerivedData, why it can fill up your Mac, and how to clean it safely, from Apple’s own Xcode Help. - [Why Docker.raw takes up so much space on your Mac](https://diskcensus.com/blogs/docker-raw-taking-up-space-on-mac.md): What Docker Desktop’s Docker.raw file is, why it can look far bigger than it is, and how to get space back without losing your containers. ## Policies - [License Agreement](https://diskcensus.com/terms): The lifetime license, activation and check-ins, and permanent deletion, including what an AI agent deletes at a person's request - [Privacy Policy](https://diskcensus.com/privacy): What the app and this website send and keep - [Refund Policy](https://diskcensus.com/refunds): Refunds within 14 days, through support or Link