Skip to content
Projects

About

看得懂 AI 和开发工具吃了多少空间、删了还能拿回来的 Mac / Windows 清理器 · A safety-first macOS + Windows cleaner: junk rules, space analysis, AI tool & skill cleanup, app updater

Developer Tools

How these counts are measured

Measured star growth

in 24h
+6
in 7 days
Collecting history
in 15 days
Collecting history
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.en.md

Original

Cleanzo

简体中文 | English

A macOS / Windows cleaner that shows how much space AI and developer tools take, and lets you get it back.

Free and open source (MIT) · a single native Go binary, installer about 5 MB · no administrator rights · no account, no telemetry · every item is listed before anything is deleted, and you can stop at any time

Release License: MIT macOS 12+ Apple Silicon Windows 10/11 x64

Junk cleanup: items grouped, selected, and confirmed

Install

On macOS, use Homebrew:

brew install --cask echoVic/tap/cleanzo

Or download from Releases:

  • macOS 12+ (Apple silicon): cleanzo-<version>-arm64.dmg; open it and drag Cleanzo into Applications. Signed with a Developer ID and notarized by Apple.
  • Windows 10/11 x64: cleanzo-setup-<version>-amd64.exe, installed per user. It needs WebView2 (included in Windows 11). The installer isn't signed, so SmartScreen may warn; choose More info → Run anyway.

Features

  • Junk cleanup: grouped into system junk, app caches, browser caches, update leftovers, developer tools, items that need confirmation, and custom folders. Expand each item and stop at any time. Regenerable caches are deleted; your own files only go to the Trash. Name an amount to free up (say 20 GB) and it selects just enough rows; the confirmation says what brings each row back; a row cleaned before says how many days ago and whether it grew back.
  • AI and developer tools: sessions and caches from Claude Code, Codex and TRAE, local models for Ollama, HuggingFace and LM Studio, and caches from npm, pnpm, Bun, uv, pip, Cargo, Go and Xcode. Models are unchecked by default.
  • Claude Code's Running tab and agent worktrees (macOS): lists open sessions and the processes closed sessions left running (dev servers and the like, with their ports), each ended by hand after a confirmation; worktrees that Claude Code and Codex made in your repositories can be moved to the Trash whole, with the branch left in the repository, uncommitted changes called out, and worktrees in use left unselectable.
  • Space and files: disk usage and the largest folders, which can be expanded and moved to the Trash; large-file scans by size and groups of similar photos.
  • Apps: one list with version, size, last opened and seven-day growth; update checks through the App Store, Homebrew, Sparkle and electron-updater, plus uninstalling and finding leftovers. On macOS, uninstalling keeps app data by default. Removing the data and ejecting a matching installer disk are separate options.
  • System status and processes (macOS): chip, memory, disk, network, battery and thermal readings; processes are merged by app so you can see what is using CPU and memory; the menu bar can show CPU, memory, network and more. When the disk is nearly full, the status page says how much in caches and logs is safe to clean and cleans it there, after listing it for you to confirm.
  • Skills: collects skill folders from ~/.agents, Claude Code, Codex, Gemini CLI, OpenCode and others, and marks broken symlinks, duplicates and diverged copies.
  • Chinese and English interfaces that can follow the system; light, dark and system appearance.

Safety

Deletion only happens inside your home directory and your temporary directory (except for the cleanup commands Homebrew runs itself). Home, ~/Library, Documents, Desktop and other user folders are refused, as are Keychain, iCloud and other cloud sync folders, Mail, Messages, the Photos library and ~/.ssh. Files in use, items whose usage can't be read, and running apps are skipped; anything moved to the Trash can be recovered.

Development

You need Go (version in go.mod) and Bun (version in .bun-version).

bun install --frozen-lockfile
bun run dev        # development mode with hot reload

Checks (the same ones CI runs):

test -z "$(gofmt -l .)" && go vet ./...
go test -race -count=1 ./...
bun run typecheck
bun run test:web
bun run build:web

bun run build signs and notarizes, so it needs the Developer ID certificate in mygo.config.ts and only works on a machine that has it; without the certificate, bun run build -- -sign=- -skip-notarize builds a copy for your own Mac. On Windows use bun run build:windows. The icon comes from public/favicon.svg; run bun run generate:icon after changing it.

Documents

Credits

  • The idea of attributing processes to Claude Code sessions comes from seshka (MIT).

Support

If Cleanzo is useful to you, feel free to buy me a coffee — any amount is welcome.

WeChat Pay QR code

Tips are voluntary gifts — they do not buy goods or services and do not unlock any features.

License

MIT

Explore related projects

Loading…