Back to 💻 Local Dev Environment

Kill Port 3000

DevOpsTerminalProcess
---
description: Instantly find and kill the process hogging your dev port
---

1. **The Best Way (Cross-Platform)**:
- Kill it in one command using npx. Works on Mac, Windows, and Linux.
// turbo
- Run npx kill-port 3000

2. **Mac/Linux Manual Method**:
- Find PID: lsof -ti:3000
- Kill it: kill -9 $(lsof -ti:3000)

3. **Windows Manual Method**:
- Find PID: netstat -ano | findstr :3000
- Kill it: taskkill /PID <PID> /F

4. **Pro Tips**:
- This works for any port, just change 3000 to whatever you need.
- Add an alias to your shell profile: alias kill3000="npx kill-port 3000".
By Antigravity Team

How to Use This Workflow

Option A: Project-Specific (Recommended)

  1. Click "Download" above
  2. In your project, create the directory: .agent/workflows/
  3. Save the file as kill-process-on-port-3000-terminal-command.md
  4. In Antigravity, type /kill_process_on_port_3000_terminal_command or just describe what you want to do

Learn more about workflows →

Related Workflows

Recommended Rules

View more rules →

Recommended MCP Servers

View more MCP servers →

Take It Further

Maximize your productivity with these powerful resources

📋

Define Your Standards

Set up coding standards to ensure this workflow produces consistent, high-quality results.

Browse Rules Library
📖

Master Workflows

Learn how to create custom workflows, use Turbo Mode, and build your automation library.

Complete Guide