Skip to content

IsbatBInHossain/portzap

Repository files navigation

portzap

A CLI tool for managing and killing processes on specific ports.

No more digging through lsof or netstat output. No more waiting 10 seconds for a port conflict error from a zombie Node server.

Install

Clone the repository and install dependencies:

git clone https://github.com/IsbatBInHossain/portzap.git
cd portzap
npm install

Link it globally so you can use it anywhere:

npm link

Usage

List all ports in use

portzap list

Kill a process on a specific port

portzap zap 3000

Help

portzap --help
portzap help zap
portzap help list

Platform

Linux and Windows. macOS is not supported.

On Linux, portzap uses kill. On Windows, it uses taskkill.

Requirements

Node.js 18+

License

MIT

About

CLI tool to find and kill processes on a given port. For when zombie Node servers won't die.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors