A Go CLI for seeing what is listening on your machine.
It is very much inspired by port-whisperer, but follows the structure of your other Go CLIs: small cmd/ files, a scanner package for the shell-driven plumbing, and subprocess-friendly tests.
- dev-focused port list by default
--allmode for everything listening- inspect a single port with project path, git branch, memory, uptime, and process tree
psview for developer processeskillby port or PID, with--port/--pidwhen a number is ambiguouscleanorphaned/zombie dev processeswatchfor port changes- framework detection for common JS, Python, Go, and Docker workloads
make installPre-built macOS binaries for Apple Silicon and Intel are available on the Releases page.
ports
ports --all
ports <port>
ports ps
ports ps --all
ports kill <port-or-pid>
ports kill --pid <pid>
ports kill --port <port>
ports clean --yes
ports watchLike the original idea, it leans on the native tooling already on the machine:
lsof -nP -iTCP -sTCP:LISTEN- batched
pscalls for PID metadata lsof -a -d cwdfor working directoriesdocker psfor host-port to container mapping
Right now this implementation is macOS-first, because the ps and lsof output parsing matches Darwin.