# ed studio library

> ed studio library in the Edith ed command line reference. Back to ed studio

- Canonical URL: https://getedith.pro/docs/cli/studio/library
- Updated: 2026-12-02

[Back to `ed studio`](https://getedith.pro/docs/cli/studio)

Manage the media references shown in Studio's **Files** tab. Commands run headlessly,
save to this CLI's scoped preferences and refresh an already running matching app.
`ed studio library` defaults to `list`.

| Command | What it does |
| --- | --- |
| `ed studio library list [--json]` | Lists saved references, including missing files. |
| `ed studio library add <paths...> [--json]` | Adds files or recursively expands folders, skipping duplicate paths. |
| `ed studio library remove <paths...> [--json]` | Removes references, including paths that no longer exist. |
| `ed studio library clear [--recent] [--json]` | Clears the media list and optionally recent tool-run history. |

JSON output is an array of `path`, `name`, ISO-8601 `addedAt` and `exists` records.
Add and remove return the updated list. Clear returns an empty array.
Aliases are `list`/`ls` and `remove`/`rm`.

Removing or clearing references preserves originals, generated outputs and saved
video projects. Recent history is separate from projects. Use
[`ed studio edit trash <project>`](https://getedith.pro/docs/cli/studio/edit#move-a-project-to-trash) to remove a
project document reversibly.

An open Studio window picks up library changes made with `ed`, so it never brings
back references that a command cleared.

[All `ed` commands](https://getedith.pro/docs/cli)

## 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
