DevOps
PortSlayer
Cross-platform CLI + interactive TUI to list and kill processes by port
Find and kill whatever is squatting on your ports. Run pk with no arguments for a full-screen, keyboard-driven dashboard - arrow keys to navigate, / to search, k to kill with confirmation - or script it from the CLI with JSON output. Free and open source under MIT, for Windows and Linux.
$ pip install portslayerv1.1.0MIT licenseWindows & Linux/POSIX
Python 3.10+ (Typer, Rich, Textual) · npm wrapper needs Node >= 14 · installs portslayer and pk
Release notes (v1.1.0) · Report an issue
Prefer a desktop app?
v1.0.029.5 MBLoading download count…
A Pro edition (v2.0.0) with advanced features is in development.
What's inside
Everything you need to get value out of PortSlayer from day one.
Interactive TUI dashboard
Run pk with no arguments for a full-screen, keyboard-driven view of every listening port. Navigate with the arrow keys, search, kill with confirmation, and it auto-refreshes every 3 seconds.
Partial port search
Search by port fragment instead of exact numbers - 808 matches 8080, 8081, 8083, and anything else in the neighborhood.
pk find 808Kill by process name
Skip the port lookup entirely and terminate straight by process name.
pk kill --name nodeJSON output
Machine-readable output on list and find for scripting, CI checks, and automation pipelines.
pk list --jsonShell completion
Tab-complete commands and flags in your shell with a single setup command.
pk --install-completionSafety-first design
Every kill asks for confirmation unless you pass --force, there is no shell injection surface (never uses shell=True), and it warns when running without admin/root privileges.