Interactive CLI to find and kill processes by port
npm install @walterlow/prockillerInteractive CLI tool to find and kill processes by port. Built with React Ink.
```
██████╗ ██████╗ ██████╗ ██████╗
██╔══██╗██╔══██╗██╔═══██╗██╔════╝
██████╔╝██████╔╝██║ ██║██║
██╔═══╝ ██╔══██╗██║ ██║██║
██║ ██║ ██║╚██████╔╝╚██████╗
╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚═════╝
██╗ ██╗██╗██╗ ██╗ ███████╗██████╗
██║ ██╔╝██║██║ ██║ ██╔════╝██╔══██╗
█████╔╝ ██║██║ ██║ █████╗ ██████╔╝
██╔═██╗ ██║██║ ██║ ██╔══╝ ██╔══██╗
██║ ██╗██║███████╗███████╗███████╗██║ ██║
╚═╝ ╚═╝╚═╝╚══════╝╚══════╝╚══════╝╚═╝ ╚═╝
`bash`
npm install -g @walterlow/prockiller
Or run directly with npx:
`bash`
npx @walterlow/prockiller
`bash`
prockiller
1. Enter a port number to scan
2. Navigate with arrow keys to select a process
3. Press Enter or K to kill, or A to kill all
| Key | Action |
|-----|--------|
| ↑ ↓ | Navigate process list |Enter
| / K | Kill selected process |A
| | Kill all processes (when multiple found) |R
| | Rescan current port |Esc
| | Go back |Q
| | Quit |Y
| / N | Confirm / Cancel kill |
- Scan any port for running processes
- View process details (PID, name, protocol, address)
- Kill individual processes or all at once
- Cross-platform support (Windows & Unix)
- Auto-updates to the latest version
- Beautiful orange-themed UI
- Node.js 18+
- Windows: Uses netstat and taskkilllsof
- Unix/Mac: Uses and kill
`bashClone the repo
git clone https://github.com/walterlow/prockiller.git
cd prockiller
MIT