Kill processes listening on ports.
Download from GitHub Releases for your platform:
- Linux (amd64, arm64)
- macOS (amd64, arm64)
go install github.com/wusher/tsunami/cmd/tsunami@latestgo build -o tsunami ./cmd/tsunami/# Interactive TUI - browse and kill
tsunami
# Kill process on port 3000
tsunami 3000 -f
# Kill multiple ports
tsunami 3000 8080 5432 -f
# List listening ports
tsunami -l
# Send specific signal
tsunami 3000 -s KILL| Flag | Short | Description |
|---|---|---|
--force |
-f |
Skip confirmation prompt |
--signal |
-s |
Signal to send (TERM, KILL, INT) |
--list |
-l |
List listening ports |
--quiet |
-q |
Suppress output except errors |
--dry-run |
-n |
Show what would be killed |
--timeout |
-t |
Escalation timeout (default: 2s) |
| Key | Action |
|---|---|
| Type | Filter list |
| Up/Down | Navigate |
| Enter | Select to kill |
| Esc | Quit |
- macOS (via
lsof) - Linux (via
/proc/net/tcp)
Full documentation: wusher.github.io/tsunami
MIT
