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.
Clone the repository and install dependencies:
git clone https://github.com/IsbatBInHossain/portzap.git
cd portzap
npm installLink it globally so you can use it anywhere:
npm linkportzap listportzap zap 3000portzap --help
portzap help zap
portzap help listLinux and Windows. macOS is not supported.
On Linux, portzap uses kill. On Windows, it uses taskkill.
Node.js 18+
MIT