pkill
CLI is a simple, efficient command-line tool written in Rust that allows you to quickly terminate processes running on specified ports on Linux and macOS systems.
cargo install killp
To use Port Killer CLI, simply run the executable followed by the port numbers you want to kill processes on:
pkill <PORT1> <PORT2> <PORT3> ...
-
Kill a process on a single port:
pkill 8080
-
Kill processes on multiple ports:
pkill 3000 3001 3002
This project is licensed under the MIT License