Everything in the app works in Terminal, too.
The app’s own engine ships inside it as the census command. Turn it on from the CLI and Agents tab and use it from any shell.
Last login: Tue Oct 6 09:41:12 on ttys000me@MacBook-Pro ~ % censusMacintosh HD 412 GB used · 88 GB free 148 GB Everything else 72.6 GB App data 64.3 GB Applications 58.2 GB Developer 26.1 GB macOS 24.9 GB System Data 17.8 GB Hidden space Biggest files 6.1 GB ~/Downloads/ubuntu-24.04-desktop.iso 4.2 GB ~/Movies/Archive/interview-final.mov 2.8 GB ~/Documents/Archive — 2023.zip Safe to clean: 70 GB → census findingsme@MacBook-Pro ~ % Last login: Tue Oct 6 09:41:12 on ttys001me@MacBook-Pro ~ % census cleanRescanning Macintosh HD…11 items are safe to delete · 70 GB 18.6 GB Xcode DerivedData ~/Library/Developer/Xcode/DerivedData 14.2 GB Simulator runtimes ~/Library/Developer/CoreSimulator 13.4 GB Install macOS Sequoia.app /Applications 7.4 GB Application caches ~/Library/Caches … 7 more 16.4 GBDelete these 11 items permanently? [y/N] yDeleted 10 items · 62.6 GB freedSkipped Application caches: Mail is running6 items need a person → census reviewme@MacBook-Pro ~ % Last login: Tue Oct 6 09:41:12 on ttys002me@MacBook-Pro ~ % census review6 items need your judgment · 40.4 GB 1 9.8 GB Xcode Archives ~/Library/Developer/Xcode/Archives 2 9.1 GB Downloads older than a year ~/Downloads 3 7.5 GB Messages attachments ~/Library/Messages/Attachments 4 7.2 GB Old device backups ~/Library/Application Support/MobileSync/Backup 5 6.4 GB iOS software updates ~/Library/iTunes/iPhone Software Updates 6 400 MB Old virtual environments ~/Projects/archive/.venvDelete which? (1,3-5 · Enter for none) 5Type delete to remove iOS software updates (6.4 GB): deleteDeleted 1 item · 6.4 GB freedme@MacBook-Pro ~ % Last login: Tue Oct 6 09:41:12 on ttys003me@MacBook-Pro ~ % census top --files --min-size 1G --json | jq '.results.files | length'12me@MacBook-Pro ~ % census findings --json | jq -c .results.totals.safe{"allocated_bytes":70000000000,"count":11}me@MacBook-Pro ~ % census tpounknown command: tpo (did you mean top?)me@MacBook-Pro ~ % echo $?1me@MacBook-Pro ~ % How it works
One engine, the same answers.
census is the engine the app runs on, so the app and Terminal always agree. One update brings both to the same version.
It asks before it deletes.
Commands that delete list what they’ll remove and ask first. Everything else only reads.
Made for scripts.
Every command can print JSON, with stable exit codes and progress updates.
Good to know
- census comes inside the app, not as a separate download.
- One license covers the app and census.
- census search and census history do what Search and the Change card do in the app.
More features
Agents
Claude CodeInstalled
CodexInstalled
Gemini CLIInstalled
VS CodeInstalled
- WindsurfNot installed here
Disk Census never edits anything outside these files.
Teach your AI tools to use census.
Tick Claude Code, Codex or another agent, and it can check your disk for you.
AI agents
3.26 GB safe to clean- Claude Code3.22 GB
- Claude Code debug logs640.8 MB
- Claude Code MCP logs291.6 MB
- Claude Code old versions193.4 MB
- Claude Code historyKeep1.31 GB
- Claude3.27 GB
- Claude virtual machineReview2.6 GB
AI coding agents leave files behind, too.
Old versions, caches and logs from Claude Code, Codex and others.
- Claude Code3.22 GB
- Safe to Clean21 items: caches, logs, build output, and old versions.
- Xcode DerivedData24.61 GB
- npm cache3.27 GB
- Homebrew download cache1.86 GB
- Caches1.82 GB
Clean what’s safe in one click.
Caches, logs and build output that rebuild on their own, cleaned after you check the list.