Skip to content

Latest commit

 

History

History
53 lines (37 loc) · 798 Bytes

File metadata and controls

53 lines (37 loc) · 798 Bytes

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