@catnerd/killport-cli
v1.0.4
Published
Kill the process running on a specific port
Readme
killport
Kill the process running on a specific port — instantly.
Tired of the dreaded Error: listen EADDRINUSE: address already in use :::3000?
killport is a zero-dependency CLI tool that instantly identifies and terminates the process hogging your port. Stop googling lsof and taskkill commands—just run one command and get back to coding.
Features
- Cross-Platform: Works seamlessly on Windows, macOS, and Linux.
- Instant: Finds and kills processes in milliseconds.
- Zero Dependencies: Pure Node.js, lightweight and secure.
- Simple: One command, no complex syntax.
Installation
Global Install (Recommended)
Install once, use anywhere in your terminal:
npm install -g @catnerd/killport-cliRun Without Installing Try it out instantly via npx:
npx @catnerd/killport-cli 3000Usage
killport <port-number>Examples
Kill a process on port 3000:
killport 3000When the port is already free:
killport 8080How It Works
killport automatically detects your operating system and uses the native tools to find and terminate processes.
Contributing
Found a bug or have a feature request? We welcome contributions!
Fork the repository. Create your feature branch:
git checkout -b feature/amazing-featureCommit your changes:
git commit -m 'Add amazing feature'Push to the branch:
git push origin feature/amazing-featureOpen a Pull Request.
License
Distributed under the MIT License. See LICENSE for more information.
Made with ❤️ for developers everywhere.
