# ed ports kill

> ed ports kill in the Edith ed command line reference. ed ports

- Canonical URL: https://getedith.pro/docs/cli/ports/kill
- Updated: 2026-12-02

[`ed ports`](https://getedith.pro/docs/cli/ports)

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

```bash
ed ports kill PORT [--force] [--yes] [--json]
```

Frees a port by stopping the process that holds it. Without `--yes` it prints which process would stop and changes nothing. With `--yes` it sends a terminate signal and waits up to the time set in the Ports settings (5 seconds by default) for the process to exit. When it does not exit, the command fails with a hint to run it again with `--force`, which kills the process at once.

When forked workers share a port, only their parent is signalled. macOS services and Edith itself are never stopped, and a process that changed since the scan is left alone. A port nobody visible holds exits with a not found error. JSON output reports `port`, `signal`, `sent`, `stopped` and `targets`; the preview reports `applied: false` and the listeners it would stop.

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