# Cleaner

> Cleaner documentation for Edith on Mac. Understand your storage. Choose what goes. Setup steps, settings, shortcuts and ed commands.

- Canonical URL: https://getedith.pro/docs/extensions/cleaner
- Updated: 2026-12-02

Explore disk usage, review caches and build output, protect important paths, and move only the files you choose to the Trash. Read the [Cleaner overview](https://getedith.pro/extensions/cleaner) for screenshots and use cases.

![Cleaner Cleanup with 1.11 GB found for review, a one-line filter summary, and Xcode DerivedData, Simulator, Swift Package and npm caches ticked for the Trash](shot:ext-cleaner)

## Install Cleaner

1. Open **Library** in Edith's sidebar.
2. Search for Cleaner in **Search tools**, or open the **Mac Utilities** category.
3. Press **Install**. Cleaner is added to your sidebar.

From the terminal, `ed extensions install cleaner` does the same. See [Extensions](https://getedith.pro/docs/extensions) for turning extensions off, updating and removing them.

## Where to find Cleaner

- **Sidebar.** Click Cleaner in the sidebar to open its page, or press <kbd>⌘</kbd><kbd>K</kbd> and type its name.
- **Home.** Open **Home**, press **Edit Home**, then **Add widgets** to place its widgets.

## Get started with Cleaner

1. **Scan your Mac.** Pick where to search. A scan only reads folders and never changes anything.
2. **Review what it found.** Open a category to see every item, and untick anything you want to keep.
3. **Move it to the Trash.** Confirm once, then restore anything from the Trash until you empty it.

## What Cleaner does

- **Free up disk space.** Find caches, old Xcode data and leftovers, then move them to the Trash.
- **Remove unused git worktrees.** Find worktrees you no longer use and move them to the Trash.
- **Explore your disk.** Switch between treemap, rings and ranked files in the same workspace.
- **Review duplicates and old files.** Compare contents, filter by size, age and file type, then select individual files.
- **Clean your other machines.** Pick saved machines where you choose what to search. They get the same scan as this Mac, over SSH.
- **Protect and restore.** Protect paths across every view and restore recorded Trash items without overwriting files.

## From the terminal

Everything above works in the app. The `ed` command line is optional, for scripts and coding agents. Cleaner's commands are in [`ed cleaner`](https://getedith.pro/docs/cli/cleaner), and each one is also a tool in [Edith's MCP server](https://getedith.pro/docs/mcp).

```sh
ed cleaner scan
ed cleaner review ~/Downloads --minimum-mb 100
ed cleaner map ~/Documents
ed cleaner machines scan
```

## Permissions and requirements

- macOS 14 or later on Apple silicon
- Git for worktree status
- Only readable paths are scanned; macOS may require permission for protected folders or external volumes.

See [Permissions](https://getedith.pro/docs/permissions) for how Edith asks for each one.

## Questions

### Does scanning change my files?

No. Scans only inspect metadata and, when enabled, read file contents for duplicate comparison. Nothing is selected automatically in File review.

### When is disk space freed?

Moving a file to Trash keeps it on disk. Space is freed after Trash is emptied, and shared APFS blocks can make the actual amount smaller than the displayed allocation.

### Can I use the terminal?

Yes. Use ed cleaner scan, map, review, clean, protect, history and restore. Clean and restore preview their action unless you pass --yes.

### Does it scan cloud-only files?

The file reviewer skips cloud-only files, symbolic links, application bundles and other filesystems. Reports show their scope and any scan limits.

### Can every move be undone?

Recorded moves can be restored while the unchanged item remains in Trash and its original parent folder still exists. Cleaner refuses to overwrite existing files.

## Get Edith

Edith is a native Mac app for macOS 14 or later on Apple silicon with 100+ extensions, the `ed` command line and an MCP server. $35 once for one Mac, plus $7 for each additional Mac, with no subscription and a 30-day refund.

- [Buy Edith](https://getedith.pro/pricing): $35 once for one Mac, plus $7 for each additional Mac
- [Download Edith](https://getedith.pro/download): the installer, or Homebrew
