# ed emoji-picker clear

> Forgets the frequently used emoji, the whole ledger at once.

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

Forgets the frequently used emoji, the whole ledger at once.

Usage:

```
ed emoji-picker clear [--json]
```

Options:

| Name | Type / values | Default | What it does |
| --- | --- | --- | --- |
| `--json` | flag | off | Emits one JSON document on stdout. |

There are no positional arguments, and there is no `--yes`. Unlike
`ed color clear` and `ed clipboard clear` this verb has no preview step: it
applies as soon as you run it.

`--json` shape:

```json
{
  "cleared": 3
}
```

`cleared` is how many emoji were in the ledger before it was emptied, not how
many were shown in the picker. The ledger holds up to 200 entries while
`emojiFrequentCount` decides how many of them are pinned above the grid, so this
number is usually larger than the row you were looking at.

Examples:

```
ed emoji-picker clear
ed emoji-picker clear --json
```

```
$ ed emoji-picker clear
cleared 3 frequently used emoji
```

Behaviour: this stores an empty ledger under `emojiUsage` in Edith's settings,
so the key stays present and simply holds no entries; it is not removed the way
`ed color clear` removes its history. A running picker picks the change up at
once, so an open panel loses its frequently used row straight away rather than
at the next restart. The command exits 0 either way.

Clearing an already empty ledger is reported as `cleared 0 frequently used
emoji` rather than as an error. Nothing else is touched: the catalog is bundled
and read-only, your skin tone stays where it was, and the Emoji Picker extension
stays on or off as it was. `clear` checks neither the extension nor the app, so
it never exits 4.

There is no per-emoji removal here. To drop a single emoji from the row without
losing the rest, right-click it in the picker and choose Remove from frequently
used, which is the only surface that can forget one.

Exit codes:

| Code | Meaning |
| --- | --- |
| 0 | The ledger was emptied, including when it was already empty. |
| 2 | The command line was invalid. |

## Where to go next

- [`ed emoji-picker ls`](https://getedith.pro/docs/cli/emoji-picker/ls), whose `--frequent` reads this ledger
- [`ed emoji-picker`](https://getedith.pro/docs/cli/emoji-picker), the rest of this group
- [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
