Tsunami

Tsunami is a command-line utility for killing processes listening on specific network ports. Written in Go, it makes port management fast and simple.

The Problem

During development, you often need to free up a port. Maybe a crashed server left a zombie process, or you need to restart a service on port 3000. The usual approach involves multiple commands: lsof, parsing output, extracting PIDs, then kill.

Tsunami reduces this to one command.

How It Works

Run tsunami without arguments for an interactive terminal UI. Browse running processes, filter by name or port, and kill what you need.

Or target ports directly:

# Kill whatever is on port 3000
tsunami 3000

# Kill multiple ports
tsunami 3000 8080 5432

# Force kill without confirmation
tsunami -f 3000

Features

Installation

go install github.com/wusher/tsunami@latest

Or build from source:

git clone https://github.com/wusher/tsunami
cd tsunami
go build