A terminal-based process manager — think htop for the network stack. Lists every process listening on a port, lets you kill them by PID or by port, and ships with a JSON output mode for scripting.
What it does
- Interactive TUI: PORT, PID, Process Name, Protocol, Memory, Username, Started At.
- Auto-refresh every 2 seconds; manual refresh with
r; vim-style navigation (j/k). - Kill processes from the TUI by selecting +
Enter, or from the CLI by PID or port. - JSON output (
pman json) for piping into other tools. - Customizable color theme via
~/.config/pman/config.yaml.
Why
lsof -i works but is ugly. netstat is worse. I wanted something that made “what’s listening on this machine right now” glanceable and acted-on-able in one keystroke.
Install
brew tap bishalr0y/homebrew-bishalr0y
brew install pman
# or:
go install github.com/bishalr0y/pman@latest
Built with Go 1.25+. macOS and Linux.