kill any app by name. fuzzy search, interactive multi-select, zero zombies.
npx cli-killapp warp- scans all running processes via
ps aux - on macOS, enriches with official app names via
lsappinfo(so "Warp" is found even though its binary is named "stable") - fuzzy-matches your query against app name, bundle ID, command path, and binary name
- shows an interactive multi-select checkbox — high-confidence matches (80%+) are pre-selected
- kills entire process trees bottom-up (children first, then parent)
- SIGTERM → brief grace → SIGKILL (-9) → process group kill
- reaps zombie children
- verifies processes are actually gone
# use directly with npx (no install needed)
npx cli-killapp warp
# or install globally
npm i -g cli-killapp
killapp warp
# short alias
ka warpkillapp <name> [options]| flag | description |
|---|---|
-h, --help |
show help |
-v, --version |
show version |
-y, --yes |
auto-kill all 80%+ matches (no interactive prompt) |
-s, --silent |
suppress banner and verbose output |
killapp warp # find and kill Warp terminal
killapp "google chrome" # kill Chrome and all its helpers
killapp slack # kill Slack
ka figma --yes # auto-kill Figma without prompt
npx cli-killapp discord # no install neededthe search matches against multiple fields with weighted scoring:
| field | weight | example |
|---|---|---|
| app name (from lsappinfo) | 40% | "Warp" |
| bundle ID | 20% | "dev.warp.Warp-Stable" |
| app path (.app name) | 20% | "/Applications/Warp.app/..." |
| full command | 10% | "/Applications/Warp.app/Contents/MacOS/stable" |
| binary name | 10% | "stable" |
this means typing warp will find the Warp terminal even though its binary is called stable.
- macOS — first-class support with
lsappinfoenrichment for official app names - Linux —
ps auxwith path-based name extraction
MIT