Home

Awesome

<div align="center"> <h1> <span style="font-size: 80px;">Pik</span> <picture> <source media="(prefers-color-scheme: dark)" srcset="logo_dark.svg"> <source media="(prefers-color-scheme: light)" srcset="logo_light.svg"> <img alt="Pik" height="80" src="logo_light.svg"/> </picture> </h1>

Build status GitHub Release

</div>

Process Interactive Kill is a command line tool that helps to find and kill process. It works like pkill command but search is interactive. Example pik

This tool is still under development

Table of Contents

Features

Pik allows to fuzzy search processes by:

After selecting process you can kill it with Ctrl + X

Installation

Archives of precompiled binaries for pik are available for Linux and macOS.

On Arch Linux

pacman -S pik

On Fedora

sudo dnf copr enable rusty-jack/pik
sudo dnf install pik

On Tumbleweed

sudo zypper install pik

On Gentoo

It is available via lamdness overlay

sudo eselect repository enable lamdness
sudo emaint -r lamdness sync
sudo emerge -av sys-process/pik

With dra

dra download --install jacek-kurlit/pik

If you're a Rust programmer, pik can be installed with cargo.

cargo install pik

Alternatively, one can use cargo binstall to install a pik binary directly from GitHub:

cargo binstall pik

Configuration

Application configuration

You may set your preferences in config.toml file located in ~/.config/pik directory. All options are optional, if skipped default values will be used.

You can find default values below

# Size of the viewport
screen_size = { height = 20 } # run pik in 20 lines of the terminal
# screen_size = "fullscreen" # run pik in fullscreen

# Icons require nerd fonts v3
use_icons = false

Key maps

Key(s)Action
Esc | Ctrl + CQuit
Ctrl + XKill process
Ctrl + RRefresh processes list
Ctrl + FDetails forward
Ctrl + BDetails backward
Tab | Shift + TabSelect next/previous
Arrow Down | Arrow UpSelect next/previous
Ctrl + J | Ctrl + KSelect next/previous
Ctrl + Arrow Down | Ctrl + Arrow UpSelect last/first
Alt + PSelect parent process
Alt + FSelect familly processes
Alt + SSelect siblings processes

Caveats

Development

Supported Systems

In theory pik is using coross compliant lib that allows to run it on all major platforms. In pratice I'm using linux and development is performed based on this OS. Pik will probably work on MacOs and Windows but that must be tested by community since I don't own computers with these OS'es. If you are able to test it on windows or macos please create issue to let me know.

Setup

Building

git clone https://github.com/jacek-kurlit/pik
cd pik
cargo build --release
./target/release/pik --version