by @zudsniper
if you trust me -- or just clone the repo and add it to your /usr/local/bin
curl -L https://github.com/zudsniper/killport/raw/master/install-killport.sh | bash⸻
🔧 Usage
Once installed, just run:
killport <port1> [port2] … # space‑separated ports
killport <port1,port2,…> # comma‑separated portsExamples • Kill a single port:
killport 3000
• Kill multiple ports (space‑separated):
killport 3000 5000 8080
• Kill multiple ports (comma‑separated):
killport 3000,5000,8080
finsihed!!!!