# ed app route

> Prints the route of the window that owns navigation history.

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

Prints the route of the window that owns navigation history.

```
ed app route [--json]
```

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

`--json` shape:

```json
{
  "route": "memory/chat",
  "canGoBack": true,
  "canGoForward": false
}
```

Examples:

```
ed app route
ed app route --json
```

This reads the selection and does not change it. It does not activate Edith
or order a window forward. Edith must be running; without
it the command exits 4. If the window has not reported a route yet, the
command exits 1.

## Where to go next

- [`ed app navigate`](https://getedith.pro/docs/cli/app/navigate), move to another route
- [`ed app back`](https://getedith.pro/docs/cli/app/back), step backward
- [`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
