ikill [![Crates.io](https://img.shields.io/crates/v/ikill)](https://crates.io/crates/ikill) ![License](https://img.shields.io/crates/l/ikill)
---
> Interactively kill running processes, inspired by [fkill-cli](https://github.com/sindresorhus/fkill-cli).
### Features
- List and fuzzy find running processes.
- Multi select processes by pressing ⭾.
- Clear all queries by pressing Ctrl+l.
### Usage
Run `ikill` on terminal, search and press ↵.
### Screenshot
[![A screenshot](./screencast.gif)](./screencast.gif)
### Installation
If you have rust toolchain installed, you can just do:
```
cargo install ikill
```
Alternatively, you can download pre-build binaries from the [release page](https://github.com/pjmp/ikill/releases).
### Usage
```
ikill - Interactively kill processes
USAGE:
ikill
FLAGS:
-h, --help Prints help information
-V, --version Prints version information
```
# Alternatives
```bash
# using `fzf`
pgrep . -l | fzf --reverse -m | awk '{ print $2 }' | xargs -I% -r kill -9 '%'
# using `dmenu`
pgrep . -l | dmenu -l 20 | awk '{ print $2 }' | xargs -I% -r kill -9 '%'
```
### TODO
- [ ] Preview pane with process id?
- [ ] allow users to customize `skim`?