# ed keyboard

> ed keyboard belongs to the Keyboard Clean extension. It locks the keyboard behind a full-screen overlay so you can wipe the keys without typing into the app…

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

`ed keyboard` belongs to the Keyboard Clean extension. It locks the keyboard
behind a full-screen overlay so you can wipe the keys without typing into the
app in front. The lock arms after a 3 second countdown, shows on every display,
and releases when you click Done cleaning, run `ed keyboard stop`, or after 60
seconds.

Install the extension with `ed extensions install keyboardClean`. The same
action is the Clean keys button in the sidebar, the Clean keys tile in the notch
and on Home, and Start cleaning mode in the extension's settings.

## At a glance

| Command | What it does |
| --- | --- |
| `ed keyboard status` | Prints whether the keyboard is locked and whether Input Monitoring and Accessibility are allowed. Runs when you type `ed keyboard` with no subcommand. |
| `ed keyboard clean` | Shows the overlay and locks the keyboard after the countdown. |
| `ed keyboard stop` | Unlocks the keyboard and closes the overlay. |

## Commands

- [`ed keyboard status`](https://getedith.pro/docs/cli/keyboard/status)
- [`ed keyboard clean`](https://getedith.pro/docs/cli/keyboard/clean)
- [`ed keyboard stop`](https://getedith.pro/docs/cli/keyboard/stop)

## Exit codes

| Code | When |
| --- | --- |
| 0 | The status was printed, the lock started, or the keyboard was unlocked. |
| 2 | The command line was wrong: an unknown flag or an extra argument. |
| 4 | Keyboard Clean is not installed or enabled, or `clean` is missing Input Monitoring or Accessibility. The hint names the `ed permissions request` command to run. |

## Notes and gotchas

- Input Monitoring lets Edith see key presses and Accessibility lets it stop
  them. `clean` asks macOS for the first missing one and exits 4 instead of
  showing an overlay that cannot lock anything.
- Mouse clicks still work while the keyboard is locked, so Done cleaning is
  always reachable.
- After allowing a permission in System Settings, relaunch Edith if `status`
  still reports it as not allowed.

## Where to go next

- [`ed permissions`](https://getedith.pro/docs/cli/permissions) for Input Monitoring and
  Accessibility
- [`ed extensions`](https://getedith.pro/docs/cli/extensions) for installing and enabling Keyboard Clean
- [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
