Gatan is a macOS Bash utility for inspecting services bound to TCP ports.
When you run gatan, it prompts for sudo once, opens a full-screen terminal UI, and lets you:
- Browse listening TCP processes
- Inspect process details
- Terminate a selected process (SIGTERM, then optional SIGKILL)
- macOS 12+
sudolsofawkpskilltputstty
bpkg install -g lucianbuzzo/gatangatan
gatan --help
gatan --versionUp/Down: move selectionEnter: inspect selected processk: kill selected processr: refresh list/detailsb: back from inspect viewq: quit
- Confirm
SIGTERMwithy/Nprompt. - If still running, optional
SIGKILLconfirmation.
Commits are enforced in CI using Conventional Commits.
Examples:
feat: add inspect viewfix: handle empty listener tablechore: update ci workflow
See CONTRIBUTING.md for details.
To enforce this locally:
git config core.hooksPath .githooksVersioning and releases are managed by release-please.
- Merges to
mainupdate/open a release PR. - Merging the release PR updates
VERSION/CHANGELOG.md, creates a tag, and publishes a GitHub release.



