commandby matthewharwood

Kill Port 3000

Kill all processes running on port 3000

Installs: 0
Used in: 1 repos
Updated: 1d ago
$npx ai-builder add command matthewharwood/kill-port-3000

Installs to .claude/commands/kill-port-3000.md

# Kill Port 3000

Find and terminate all processes running on port 3000.

## Current processes on port 3000

!`lsof -ti:3000 2>/dev/null || echo "No processes found on port 3000"`

## Action

Kill all processes found on port 3000 using:

```bash
lsof -ti:3000 | xargs kill -9 2>/dev/null || echo "No processes to kill"
```

After killing, verify the port is free.

Quick Install

$npx ai-builder add command matthewharwood/kill-port-3000

Details

Type
command
Slug
matthewharwood/kill-port-3000
Created
4d ago