# ed ports

> ed ports is the command-line surface for the Ports page under Developer.

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

`ed ports` is the command-line surface for the Ports page under Developer. It lists the local servers listening on this Mac, says which process holds a port, opens a dev server in the browser and frees a port by stopping the process that holds it.

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

| Command | What it does |
| --- | --- |
| [`ed ports ls`](https://getedith.pro/docs/cli/ports/ls) | Lists dev servers, or every listening process with `--all`. |
| [`ed ports who`](https://getedith.pro/docs/cli/ports/who) | Says which process holds a port. |
| [`ed ports kill`](https://getedith.pro/docs/cli/ports/kill) | Frees a port by stopping the process that holds it. |
| [`ed ports open`](https://getedith.pro/docs/cli/ports/open) | Opens a dev server in the default browser. |

Ports reads sockets with the macOS process information calls and needs no administrator rights, so it sees processes of the signed-in user only. A port held by another user, such as a system daemon, can still be in use when `who` finds no holder. Secrets in command lines, such as `--token` values and passwords in connection URLs, are masked in every output.

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