# The ed command line

> ed is the command line for Edith. It ships inside the app, links itself onto your PATH the first time the app runs, and reaches everything the UI reaches:…

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

`ed` is the command line for Edith. It ships inside the app, links itself onto
your `PATH` the first time the app runs, and reaches everything the UI reaches:
settings, extensions, permissions, agent usage, this Mac's metrics, playback,
your clipboard, your calendar, and the machines Edith can talk to over SSH.

`edith` is the same command under its full name. Every example in these pages
works with either name.

The built-in manual is `ed guide`, which is written for agents and humans alike
and is the shortest path to being useful. These pages are the complete
reference: one page per command group, every flag, every default, every JSON
key.

## Agent discovery

Start with `ed guide`, use `ed guide --json` for the complete command catalog,
then use `ed <group> --help` and the reference page for the selected command.
Prefer `--json` when a command offers it, read only stdout
as the result document, and treat stderr and the exit code as diagnostics. Shell
completion knows every command, option and value, so Tab is a quick way to
explore.

Use `ed status --json` to inspect the command-line links and shell completion
installation without opening Settings. `ed completions source` prints the
fallback startup-file line without changing anything.

For extension automation, start with `ed extensions status --json`. Preview setup
with `ed extensions setup <id> --dry-run --json`, apply it with
`--install-tools` when required, then run `ed extensions verify <id> --json`.
`ed extensions doctor --json` reports recovery across the registry. An unhealthy
report still exits 0, so read `verified`, `state.phase`, `state.runtimePhase`,
`checks`, and `remediation`.

## Start here

| Page | What it covers |
| --- | --- |
| [Getting started](https://getedith.pro/docs/cli/getting-started) | Installing and linking the CLI, `ed guide`, `ed schema`, `ed version`, shell completion, and the `ed <machine> ...` shorthand |
| [Conventions and contracts](https://getedith.pro/docs/cli/conventions) | The `--json` guarantee, stdout versus stderr, the exit code table, and which commands need the app running |

## This Mac

| Page | What it covers |
| --- | --- |
| [`ed config`](https://getedith.pro/docs/cli/config) | Every setting the UI exposes, and the full setting catalogue |
| [`ed app`](https://getedith.pro/docs/cli/app) | App identity, diagnostics, paths, external links, and one-shot actions |
| [`ed agent`](https://getedith.pro/docs/cli/agent) | The headless background agent: registration, live state and its job table |
| [`ed mcp`](https://getedith.pro/docs/cli/mcp) | Serving every Edith operation to an agent over MCP, and registering it with Claude, Codex, Cursor and VS Code |
| [`ed jev`](https://getedith.pro/docs/cli/jev) | The TypeSafe Jev key, its status, and raw typed decisions |
| [`ed docs`](https://getedith.pro/docs/cli/docs) | This reference in the app and on the command line, and asking which command handles a request |
| [`ed extensions`](https://getedith.pro/docs/cli/extensions) | Installing, updating, enabling and removing extensions, checking readiness, planning setup, and recovering failures |
| [`ed invoke`](https://getedith.pro/docs/cli/invoke) | Sending JSON to an enabled extension |
| [Keystroke Highlight](https://getedith.pro/docs/cli/keystroke-highlight) | Showing key presses on screen for demos and recordings |
| [Dock Peek](https://getedith.pro/docs/cli/dock-peek) | Window previews for the Dock: listing, showing and arranging an app's windows through `ed invoke` |
| [Screen Ink](https://getedith.pro/docs/cli/screen-ink) | Zoom, drawing, spotlight and break timer for talks through `ed invoke` |
| [Pin Window](https://getedith.pro/docs/cli/pin-window) | Always on top and Crop and lock: pinning windows and regions of windows, and moving, fading and closing pins through `ed invoke` |
| [`ed lid-awake`](https://getedith.pro/docs/cli/lid-awake) | Closed-lid sessions, battery auto-pause and live state |
| [`ed permissions`](https://getedith.pro/docs/cli/permissions) | Inspecting and requesting Edith's macOS permissions |
| [`ed usage`](https://getedith.pro/docs/cli/usage) | Agent usage: limits, cost, tokens, projects, sources, and machine attribution |
| [`ed menu-bar-stats`](https://getedith.pro/docs/cli/menu-bar-stats) | CPU, memory, load, network and mounted volumes |
| [`ed music`](https://getedith.pro/docs/cli/music) | Playback control and the local music library |
| [`ed latex`](https://getedith.pro/docs/cli/latex) | LaTeX source projects, checked edits, PDF compilation, and GitHub pull requests |
| [`ed studio`](https://getedith.pro/docs/cli/studio) | Studio: edit, convert and compress images, PDFs, video, audio and documents |
| [`ed calendar`](https://getedith.pro/docs/cli/calendar) | Your agenda, open times and meeting cost |
| [`ed camera`](https://getedith.pro/docs/cli/camera) | Edith Camera: framing, looks, backgrounds, overlays, scenes and pausing for any video app |
| [`ed audio`](https://getedith.pro/docs/cli/audio) | Per-app volume for whatever is playing |
| [`ed audio-devices`](https://getedith.pro/docs/cli/audio-devices) | Output and microphone switching, favorites, device priority and per-app output |
| [`ed presenter`](https://getedith.pro/docs/cli/presenter) | Manual presenter mode, screen annotation and the pointer ring |
| [`ed agents`](https://getedith.pro/docs/agents/agents/cli) | Live Herdr sessions on this Mac and your SSH machines |
| [`ed crew`](https://getedith.pro/docs/agents/crew/cli) | Beta: agents on Edith's own engine, here and on your SSH machines |
| [`ed code-review`](https://getedith.pro/docs/cli/code-review) | Discover, inspect and launch Quinjet review workspaces locally or on a configured machine |
| [`ed database`](https://getedith.pro/docs/cli/database) | Saved database connections and what each one can do |
| [`ed clipboard`](https://getedith.pro/docs/cli/clipboard) | Clipboard history: read, copy, pin and prune |
| [`ed attention`](https://getedith.pro/docs/cli/attention) | Application, website, music, focus and distraction insight |
| [`ed color`](https://getedith.pro/docs/cli/color) | Launching the colour picker and reading its swatch history |
| [`ed bifrost`](https://getedith.pro/docs/cli/bifrost) | The launcher bar: the application index behind it, and the sums and unit conversions it answers |
| [`ed emoji-picker`](https://getedith.pro/docs/cli/emoji-picker) | Opening the emoji picker, listing what this Mac can render, typing one, and the default skin tone |
| [`ed skills`](https://getedith.pro/docs/cli/skills) | The Edith skill library: preview, copy, and install into detected agents |
| [`ed download`](https://getedith.pro/docs/cli/download) | The download queue and the tools that back it |
| [`ed running-apps`](https://getedith.pro/docs/cli/running-apps) | Running applications, and quitting them |
| [`ed run` and `ed runs`](https://getedith.pro/docs/cli/run-inbox) | Wrapping a long command, its saved output and exit status, and completion notifications |
| [Terminal](https://getedith.pro/docs/cli/terminal) | Opening a project folder in a new tab and exporting a demo from a VHS tape |
| [`ed ports`](https://getedith.pro/docs/cli/ports) | Local servers listening on this Mac: who holds a port, opening and stopping them |
| [What's Using This](https://getedith.pro/docs/cli/whats-using) | What holds a file, folder or disk open, quitting it, and ejecting a disk or explaining what blocks it |
| [Default Apps](https://getedith.pro/docs/cli/default-apps) | Which app opens each file and link type: changing one or a whole group with a preview, undo, and exporting or importing the setup |
| [`ed network`](https://getedith.pro/docs/cli/network) | Live network speed, traffic per app and per day, speed test, addresses and Wi-Fi |
| [`ed keyboard`](https://getedith.pro/docs/cli/keyboard) | Locking the keyboard so you can clean the keys |
| [`ed longhand`](https://getedith.pro/docs/cli/longhand) | Expanding Bifrost snippet keywords as you type, and importing Espanso matches |
| [`ed tools`](https://getedith.pro/docs/cli/tools) | The command line tools Edith can install for you |
| [`ed flags`](https://getedith.pro/docs/cli/flags) | Join or leave the Edith beta |
| [`ed shelf`](https://getedith.pro/docs/cli/shelf) | Files parked on the Shelf |
| [`ed cleaner`](https://getedith.pro/docs/cli/cleaner) | Scanning and reclaiming disk space |
| [`ed brew`](https://getedith.pro/docs/cli/brew) | Searching and managing Homebrew formulae and casks |
| [`ed http`](https://getedith.pro/docs/cli/http) | Saved HTTP requests: listing, sending, running a collection, and converting curl commands |
| [`ed cursors`](https://getedith.pro/docs/cli/cursors) | Cursor themes: listing packs, applying one, and restoring the macOS pointers |
| [`ed voice`](https://getedith.pro/docs/cli/voice) | On-device dictation: status, history, vocabulary, language, and transcribing a file |
| [`ed launchd`](https://getedith.pro/docs/cli/launchd) | Background items in Running Apps: launch agents, daemons and cron jobs, their logs, and controlling your own agents |
| [`ed grab`](https://getedith.pro/docs/cli/grab) | Text Grab: reading text in images and the clipboard, and the grab history |
| [`ed scratchpad`](https://getedith.pro/docs/cli/scratchpad) | Scratchpad notes: listing, reading, adding, searching, exporting and restoring deleted notes |
| [`ed keys`](https://getedith.pro/docs/cli/keys) | Caps Lock as Hyper, Hyper shortcuts and turning every key back |
| [`ed mouse`](https://getedith.pro/docs/cli/mouse) | Mouse Tuner: smooth scrolling, button actions, device profiles and apps left alone |
| [Quick Toggles](https://getedith.pro/docs/cli/quick-toggles) | Listing switches and actions, flipping a switch, running an action, the Trash, the layout and restoring originals |
| [Finder Plus](https://getedith.pro/docs/cli/finder-plus) | Cut and paste, renaming in bulk with a preview, new files from templates, copying paths, pasting images and undo |
| [Power Timer](https://getedith.pro/docs/cli/power-timer) | Scheduling sleep, shut down, restart, log out, lock or display sleep, its status and cancelling it |
| [Radial Menu](https://getedith.pro/docs/cli/radial-menu) | Profiles per app, adding, moving and removing slices, opening the menu and running a slice |
| [Input Switch](https://getedith.pro/docs/cli/input-switch) | Keyboard layout per app, fixed layouts, a default, apps left alone, favorites and the cycle shortcut |
| [Battery Care](https://getedith.pro/docs/cli/battery-care) | The charge limit, sailing, discharge to the limit, heat protection, top ups before events and the charging state |
| [`ed health`](https://getedith.pro/docs/cli/health) | System Health: live CPU, GPU, memory, temperature and power readings, battery health, energy use, Bluetooth and USB devices, and alerts |
| [Hosts & Environment](https://getedith.pro/docs/cli/hosts-editor) | Hosts entries and groups, turning entries on and off, profiles, diffs, backups and the shell's environment block |
| [Viewer](https://getedith.pro/docs/cli/viewer) | Opening files, playback and document controls, inspecting and preparing media, subtitles, tables, playlists and recent files |
| [`ed screen-saver`](https://getedith.pro/docs/cli/screen-saver) | An idle screen drawn by Edith: listing scenes, starting or stopping it, the scene and the idle minutes |
| [`ed windows`](https://getedith.pro/docs/cli/windows) | Window switching: listing windows in recent order and focusing one by id |
| [`ed tile`](https://getedith.pro/docs/cli/tile) | Window tiling: tiling the front window, zones, arranging every window, workspaces and app rules |
| [App Behavior](https://getedith.pro/docs/cli/app-behavior) | Per-app quitting, Command Q protection, the green button, Dock clicks, fixed Spaces order and grabbing windows |
| [`ed pet`](https://getedith.pro/docs/cli/pet) | A small animated pet beside the notch: listing pets, picking one, playing a mood and moving it |
| [`ed menu-bar-styles`](https://getedith.pro/docs/cli/menu-bar-styles) | Menu bar styles: listing them, applying one, turning it off, and choosing displays |
| [`ed cursor-effects`](https://getedith.pro/docs/cli/cursor-effects) | Pointer trails and click effects: listing styles, applying one, and turning them off |
| [`ed wallpapers`](https://getedith.pro/docs/cli/wallpapers) | Live wallpapers: listing scenes, applying one or a video, pausing, and turning it off |
| [`ed sounds`](https://getedith.pro/docs/cli/sounds) | Sound packs for typing, clicks and alerts: listing, applying, previewing and volume |
| [`ed app-updates`](https://getedith.pro/docs/cli/app-updates) | Verified app installs, updates, inventory, and review-first removal |
| [`ed site-audit`](https://getedith.pro/docs/cli/site-audit) | Site audits: projects, page selection, page scores, saved runs, and TLS certificates |
| [Dependency Evidence](https://getedith.pro/docs/cli/dependency-evidence) | Read-only license and notice evidence for a local repository |
| [Locale Lens](https://getedith.pro/docs/cli/locale-lens) | Read-only localization coverage and checklist actions |
| [`ed spec-compare`](https://getedith.pro/docs/cli/spec-compare) | Compare two local OpenAPI contracts with grouped findings and source locations |
| [`ed schema-check`](https://getedith.pro/docs/cli/schema-check) | Validate local JSON documents against a local JSON Schema with property paths |
| [`ed file-changes`](https://getedith.pro/docs/cli/file-changes) | Workspace change bursts, exclusions, watcher restart and debugging bookmarks |
| [Project checklist](https://getedith.pro/docs/cli/project-checklist) | Plain-text checklist reads, toggles, additions, archiving and open-task copies |
| [Test run ledger](https://getedith.pro/docs/cli/test-run-ledger) | Local JUnit imports and run comparisons through `ed invoke` |
| [`ed chime`](https://getedith.pro/docs/cli/chime) | Quick reminders: add, list, snooze, complete and cancel |
| [Spanwell](https://getedith.pro/docs/cli/spanwell) | Image and display measurements, exports and annotated images through `ed invoke` |
| [`ed pare`](https://getedith.pro/docs/cli/pare) | Image optimization: lossless and lossy PNG, JPEG, GIF and SVG copies |
| [Tracepad](https://getedith.pro/docs/cli/tracepad) | Screenshot editors, clipboard images and flattened PNG hand-offs through `ed invoke` |
| [Crossway](https://getedith.pro/docs/cli/crossway) | Link routing rules, projects and previews through `ed invoke` |
| [Launchweave](https://getedith.pro/docs/cli/launchweave) | Project presets: save, open, retry and cancel through `ed invoke` |
| [Release inbox](https://getedith.pro/docs/cli/release-inbox) | RSS and Atom release feeds, read state and saves to Memory through `ed invoke` |
| [Inbox scope](https://getedith.pro/docs/cli/inbox-scope) | Local Mailpit projects, captured messages, codes and links, checks, read state and delete through `ed invoke` |
| [Desk Loom](https://getedith.pro/docs/cli/desk-loom) | Saved window desks: save, preview, restore, rename, delete and automatic restores through `ed invoke` |
| [Switchyard](https://getedith.pro/docs/cli/switchyard) | Local rules: save, run, pause, dry run, import, export and run history through `ed invoke` |
| [Wayline](https://getedith.pro/docs/cli/wayline) | Nearby transfers with LocalSend devices: receive, find, send, accept and history through `ed invoke` |
| [`ed code-stats`](https://getedith.pro/docs/cli/code-stats) | Your GitHub mirror, refresh schedule, identities, and code report |
| [`ed memory`](https://getedith.pro/docs/cli/memory) | Local memory health, status, Markdown ingest and episodes |

## Other machines

| Page | What it covers |
| --- | --- |
| [`ed machines`](https://getedith.pro/docs/cli/machines) | The machine directory: add, edit, connect, inspect, plus snippets and forwards |
| [Running commands on a machine](https://getedith.pro/docs/cli/machines-remote) | The `ed <machine> ...` shorthand, `ed machines exec`, remote working directories and completion |
| [`ed machines docker`](https://getedith.pro/docs/cli/machines-docker) | Containers, images, volumes, networks and compose projects |
| [`ed machines files`](https://getedith.pro/docs/cli/machines-files) | Browsing, transferring and editing files over SSH, and the undo model |
| [`ed machines env`](https://getedith.pro/docs/cli/machines-env) | Compare allowlisted environment names across two saved project shells |
| [`ed machines power`](https://getedith.pro/docs/cli/machines-power) | Power state, processes and system services |
| [`ed machines thermal`](https://getedith.pro/docs/cli/machines-thermal) | Thermal readings and temporary or persistent performance profiles |
| [`ed machines terminal`](https://getedith.pro/docs/cli/machines-terminal) | Send a line to terminal tabs already open in the Edith app |
| [`ed machines control`](https://getedith.pro/docs/cli/machines-control) | Brightness, audio, radios, airplane mode, Do Not Disturb, Caffeinate and keyboard lighting |
| [`ed machines workspace`](https://getedith.pro/docs/cli/machines-workspace) | Workspaces and panes |

## The short version

```
ed guide                         the built-in manual
ed config ls                     every setting and its current value
ed lid-awake on --for 30m --yes  keep running with the lid closed for 30 minutes
ed usage limits --json           the numbers behind the rate-limit rings
ed menu-bar-stats stats --follow         this Mac, sampled continuously
ed machines ls                   the computers Edith can reach
ed devbox docker ps                 run anything on one of them
```

Every reporting command that advertises `--json` prints exactly one document on
stdout, except the two documented streaming modes. Errors, hints and notes go
to stderr. Exit codes are part of the contract, so an agent can drive Edith
headlessly. See
[conventions and contracts](https://getedith.pro/docs/cli/conventions) for the details.

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