报道正文
proc is a semantic CLI tool for process management on macOS, Linux and Windows. Find what's on a port, why it's there, and stop it, in one command you'd guess on the first try.
~❯proc kill :3000
Ends whatever is listening on port 3000 immediately (SIGKILL). Asks first, and --dry-run previews.
A leading colon means a port: proc acts on whatever is listening on it.
Command Target ❯brew install yazeed/proc/proc
Version 1.14.5. Also on npm, cargo, Scoop, Nix and Docker.