Repolode
jacek-kurlit

jacek-kurlit/pik

Interactive terminal tool to find processes by name, path, arguments, or port and kill them, like pkill with live fuzzy search.

Stars
581
Forks
19
Open issues
12
Last commit
28 days ago

What is it?

Pik (Process Interactive Kill) is a command line tool for finding and terminating processes. It works like pkill, but instead of matching a pattern up front, you type a fuzzy query and pick the process from an interactive list.

The search understands prefixes that change what is matched: no prefix searches by process name, '/' searches the command path, '-' searches arguments, ':' searches by port, and '~' searches everywhere. Prefixes '=' and '@' select a process by exact ID or select a process together with its children. Ctrl+X sends SIGTERM to the selected process, and Ctrl+Alt+X sends SIGKILL.

Pik is configurable through a config.toml file covering options, themes, and key mappings, and prebuilt binaries are provided for Linux, macOS, and Windows. It can also be installed through several package managers or with cargo. Some Linux processes cannot show port information unless pik runs with root privileges.

Key features

  • 01Fuzzy search processes by name with no prefix required
  • 02Search by command path, arguments, port, or everywhere using prefixes
  • 03Select a process by exact ID or together with its child processes
  • 04Send SIGTERM with Ctrl+X or force kill with SIGKILL via Ctrl+Alt+X
  • 05Customizable config file for options, themes, and key mappings

Use cases

  • Killing a process that is holding a specific port during development
  • Finding and stopping a runaway process by its command arguments
  • Terminating a process tree by selecting a parent process with its children

Quick start

  1. 1

    Install via Homebrew (macOS)

    brew tap jacek-kurlit/tap brew install pik
  2. 2

    Or install with Cargo (Rust)

    cargo install pik
  3. 3

    Run pik

    pik

Things to know

  • On Linux, some processes' ports cannot be inspected without root privileges.
  • Process names on Linux may differ from exe names and are limited to 15 characters.
  • The README states the tool is still under development.

Topics

FAQ

What is pik?
Interactive terminal tool to find processes by name, path, arguments, or port and kill them, like pkill with live fuzzy search. Pik (Process Interactive Kill) is a command line tool for finding and terminating processes. It works like pkill, but instead of matching a pattern up front, you type a fuzzy query and pick the process from an interactive list.
Is pik free to use? What license does it have?
pik is open source under the MIT license. Check the license terms before using it in commercial products.
Is pik still maintained?
Actively maintained. The last commit to pik was on Sep 22, 2026.
What can I use pik for?
Killing a process that is holding a specific port during development Finding and stopping a runaway process by its command arguments Terminating a process tree by selecting a parent process with its children
How do I install pik?
Install via Homebrew (macOS): brew tap jacek-kurlit/tap brew install pik Or install with Cargo (Rust): cargo install pik Run pik: pik
Where can I get pik?
The source code and installation instructions are on GitHub: https://github.com/jacek-kurlit/pik

Summary generated by AI from the project's README. GitHub stats refresh daily.

Related projects