Introducing
Port Kill
The easist and fastest way to monitor and kill dev ports.

# macOS/Linux: Download and run the installer
curl -fsSL https://raw.githubusercontent.com/kagehq/port-kill/main/install-release.sh | bash
# Windows: Download and run the installer
Invoke-WebRequest -Uri 'https://raw.githubusercontent.com/kagehq/port-kill/main/install-release.bat' -OutFile 'install-release.bat'
What it does:
- Real-time — Scans configurable ports every 5 seconds using `lsof` commands to identify running processes.
- Detection — Detect and identify processes by name, PID, and any associated Docker container.
- Termination — Uses SIGTERM → SIGKILL termination strategy to safely terminate processes.
- Port ranges — Configure and monitor specific ports or port ranges with default being 2000-6000.
- Ignore — Easily exclude specific ports or processes from active monitoring to reduce noise.