# ed code-stats report

> ed code-stats report in the Edith ed command line reference. ed code-stats

- Canonical URL: https://getedith.pro/docs/cli/code-stats/report
- Updated: 2026-12-02

[`ed code-stats`](https://getedith.pro/docs/cli/code-stats)

[The `ed` command line](https://getedith.pro/docs/cli)

```bash
ed code-stats report [--range 30d|90d|1y|all] [--json]
```

Prints the report the last refresh stored for the range, 30 days by default: commits, lines authored and deleted, active days, current and longest streak, repositories touched, momentum against the previous period of the same length, and the top languages. `--json` prints the whole report, including the daily, weekly and monthly series, per-repository and per-language totals, the weekday by hour punchcard and the top days. Exits 3 when no refresh has finished yet.

## 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
