So I wrote `pkll`, one command that does all of it, but asks for confirmation with all info about the process, and warns if it is important system process first.
You run `pkll [PORT]`, then it shows all the essential info about the process. Then after confirmation the process is killed.
This became especially annoying with coding agents. They just spin up dev servers, then leave bun instances and other processes sitting silently in the background. You go to start your server and something invisible is already holding the port. I built this to keep it dead simple: one thing, one command, works the same on Linux, macOS, and Windows. No config, no flags to memorize making it deadly simple.
Also I wrote it while learning Rust, so feedback on the code is very welcome.