PortKiller
See what is holding a port, and free it.
About PortKiller
A menu bar app that lists every listening TCP port with the process behind it, so you can stop a stuck dev server in one click. It also runs kubectl port-forward sessions that reconnect on their own and shows your Cloudflare Tunnels.
Install PortKiller
Download it from the links above, or install it from the Terminal:
brew install --cask portkiller Questions about PortKiller
Is PortKiller free?
Yes. PortKiller is free and open source under the MIT license. The source code is on GitHub at productdevbook/port-killer.
Where can I download PortKiller for Mac?
Download PortKiller from the developer's website (github.com) and GitHub. MacWorthy links only to official sources.
Can I install PortKiller from the Terminal?
Yes. With Homebrew, run brew install --cask portkiller.
What are good alternatives to PortKiller?
Other developer tools apps for Mac worth a look are Lunavect (open source), RepoBar (open source), Zed (open source) and Ghostty (open source).
Other developer tools apps like PortKiller
Lunavect
Your Claude Code and Codex sessions, watched from the menu bar.
RepoBar
Your GitHub repositories, one click from the clock.
Zed
A code editor that runs at the speed of thought.
Ghostty
A fast, feature-rich, truly native terminal.
iTerm2
The terminal that taught macOS new tricks.
Sequel Ace
The free MySQL and MariaDB client.
CodeEdit
A native, open-source code editor in Swift.
Cork
A friendly face for Homebrew.