# ed app back

> Returns the window to the previous route in its history.

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

Returns the window to the previous route in its history.

```
ed app back [--json]
```

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

`--json` shape:

```json
{
  "route": "home",
  "canGoBack": false,
  "canGoForward": true
}
```

Examples:

```
ed app back
ed app back --json
```

This reads the history stack and changes the selection in place. It does not
activate Edith or order a window forward. When there is nothing to go back to,
the command exits 1. Edith must be running; without it the
command exits 4.

## Where to go next

- [`ed app forward`](https://getedith.pro/docs/cli/app/forward), step the other way
- [`ed app route`](https://getedith.pro/docs/cli/app/route), read the current route
- [`ed app`](https://getedith.pro/docs/cli/app), 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
