toolkit ui), where you get a live, auto-refreshing table of ports alongside one-click process termination.
toolkit ports list
List every active listening port on your machine — including protocol (TCP/UDP), the owning process name and PID, local and remote addresses, connection state, and whether the port is known to a common service (e.g., http, postgres).
Example terminal output:
toolkit ports kill <port|pid>
Terminate the process bound to a specific port number or, with --by-pid, a specific process ID. Toolkit sends SIGKILL on Unix or invokes taskkill /f on Windows for an immediate, reliable termination.
toolkit ports analyze
Run a full diagnostic of your local network state. Toolkit scans every listening port, cross-references expected service mappings, and surfaces:
- Port conflicts — multiple processes competing for the same port
- Port collisions — a process bound to a port already claimed by another service type
- Misaligned standard services — e.g., a non-HTTP process listening on port 80
severity (low / medium / high) and a concrete recommendation.
--json Output
Pass --json to any ports command to get machine-readable output suitable for scripting, CI pipelines, or AI agents.
toolkit ports list --json emits a total count alongside the ports array:
toolkit ports kill --json emits an array of KillResult objects (one per matching process):
toolkit ports analyze --json emits a totalConflicts count alongside the conflicts array: