# ed download rm

> ed download rm in the Edith ed command line reference. Takes one entry out of the queue.

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

Takes one entry out of the queue.

Usage:

```
ed download rm <n> [--yes] [--json]
```

Arguments:

| Name | Type / values | Default | What it does |
| --- | --- | --- | --- |
| `<n>` | integer, counting from 1 | required | The download to remove, numbered as `ed download ls` numbers it. |

Options:

| Name | Type / values | Default | What it does |
| --- | --- | --- | --- |
| `--yes` | flag | off | Applies the removal. Without it, only previews the record. |
| `--json` | flag | off | Emits one JSON document on stdout. |

Without `--yes`, `rm` reports what it would remove and does not change the
queue. With `--yes`, it removes the record, never the downloaded file. Use
`ed download cancel` before removing an active entry.

`--json` shape:

```json
{
  "preview": false,
  "record": {
    "id": "58F41E66-1D3E-4C0C-9D89-63DC3C082D79",
    "index": 2,
    "state": "done"
  },
  "remaining": 11,
  "removed": 1
}
```

`record` identifies the exact removed entry. `removed` counts matching records,
and `remaining` is what the file holds afterwards.

Examples:

```
ed download rm 1
ed download rm 1 --yes
ed download rm 4 --yes --json
```

```
$ ed download rm 2 --yes
removed Night Drive
```

Behaviour: the entry is resolved to its persisted ID before mutation, so only
the selected record is removed. An index outside the list exits 3 with the
queue size as the hint. An empty queue exits 4. A confirmed change posts
`downloadQueueChanged`.

## Where to go next

- [`ed download`](https://getedith.pro/docs/cli/download), 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
