Skip to content

Latest commit

 

History

History
23 lines (14 loc) · 656 Bytes

README.md

File metadata and controls

23 lines (14 loc) · 656 Bytes

killport

Kill processes using a given port on your laptop.

Installation

pip install killport

Usage

killport 1111

  • kills any process using the 1111 port on your laptop

killport 1111 2222

  • kills any process using either the 1111 or 2222 ports on your laptop

killport 1111 --view-only

  • Displays the processes that would be deleted, but doesn't actually delete them.

How does this differ from...

  • freeport -- Windows support, since this uses psutil rather than lsof
  • kill-port -- Very similar, but this is available in PyPI vs NPM