Kill processes running on any port with one command. Cross-platform utility for developers. No more lsof grep awk xargs. Free CLI tool.
Scanned 9/7/2026
Install to Claude Code
npx -y skills add Demerzels-lab/elsamultiskillagent --skill port-kill --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Port Kill?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/demerzels-lab-port-kill)More formats (shields.io, HTML) on the badges page.
---
name: Port Kill - Process Killer by Port
description: Kill processes running on any port with one command. Cross-platform utility for developers. No more lsof grep awk xargs. Free CLI tool.
---
# Port Kill
Kill processes on a port with one command. Works on macOS, Linux, Windows.
## Installation
```bash
npm install -g @lxgicstudios/port-kill
```
## Commands
### Kill Process on Port
```bash
npx @lxgicstudios/port-kill 3000
npx @lxgicstudios/port-kill 8080
```
### Force Kill (SIGKILL)
```bash
npx @lxgicstudios/port-kill 3000 -f
```
### List Without Killing
```bash
npx @lxgicstudios/port-kill 3000 --list
```
### Check if Port is Used
```bash
npx @lxgicstudios/port-kill --check 3000
```
### Find Available Ports
```bash
npx @lxgicstudios/port-kill --find 3000
```
Returns next available ports starting from 3000.
## Options
| Option | Description |
|--------|-------------|
| `-f, --force` | Force kill (SIGKILL) |
| `-l, --list` | List processes only |
| `--check <port>` | Check if port is in use |
| `--find <port>` | Find available ports |
## Common Use Cases
**Kill stuck dev server:**
```bash
npx @lxgicstudios/port-kill 3000
```
**Check what's on port 8080:**
```bash
npx @lxgicstudios/port-kill 8080 --list
```
**Find next available port:**
```bash
npx @lxgicstudios/port-kill --find 3000
```
## Cross-Platform
- macOS: Uses `lsof`
- Linux: Uses `lsof` or `ss`
- Windows: Uses `netstat`
---
**Built by [LXGIC Studios](https://lxgicstudios.com)**
🔗 [GitHub](https://github.com/lxgicstudios/port-kill) · [Twitter](https://x.com/lxgicstudios)
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!