Skip to content

yofabr/pkll

Repository files navigation

⚡ pkll

Port Killer Lite — Find and kill processes by port. Fast, safe, and informative.

License: MIT Crates.io GitHub Release Platform Built with Rust


What is pkll?

Ever needed to kill a process blocking a port but had to juggle lsof, netstat, and kill just to do it? pkll handles it in one command — and shows you exactly what you're about to kill before you do it.

$ pkll 3000

  Process on port 3000
  ─────────────────────────────────────
  Name     node
  PID      48291
  User     yoftahe
  Uptime   1h 23m
  Type     TCP
  Command  node server.js

  Kill this process? [y/N]

Screenshots

pkll in action


Features

  • Safe by default — Shows process details and prompts for confirmation before killing
  • Informative — Displays name, PID, user, uptime, connection type, and full command
  • Cross-platform — Works on Linux, macOS, and Windows
  • Fast — Single binary, no runtime, no dependencies
  • Colored output — Easy to read at a glance

Installation

macOS & Linux

curl -fsSL https://github.com/yofabr/pkll/releases/latest/download/install.sh | sh

Windows (PowerShell)

irm https://github.com/yofabr/pkll/releases/latest/download/install.ps1 | iex

Via Cargo

cargo install pkll

Manual

Download the binary for your platform from the latest release:

Platform File
Linux x64 pkll-x86_64-unknown-linux-gnu.tar.xz
Linux ARM64 pkll-aarch64-unknown-linux-gnu.tar.xz
macOS Intel pkll-x86_64-apple-darwin.tar.xz
macOS Apple Silicon pkll-aarch64-apple-darwin.tar.xz
Windows x64 pkll-x86_64-pc-windows-msvc.zip
Windows ARM64 pkll-aarch64-pc-windows-msvc.zip

Usage

pkll <port>

Examples:

pkll 3000    # Kill whatever is running on port 3000
pkll 8080    # Kill whatever is running on port 8080

What it shows

Before killing anything, pkll displays:

Field Description
Name Process name
PID Process ID
User Owning user
Uptime How long the process has been running
Type TCP or UDP
FD File descriptor
Command Full command line

You always get a confirmation prompt — no accidental kills.


License

MIT © Yoftahe Abraham

About

Port Process Killer - View details before killing

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors