Interactive orphan process killer powered by fzf.
Closing tmux panes often leaves subprocess orphans (Claude Code, node, cargo, etc.) running with PPID=1, silently consuming memory. On macOS, PPID=1 also includes legitimate launchd-managed processes, so blindly killing everything is dangerous. proclean provides safe, filterable, interactive cleanup.
- Two modes --
dev(whitelist: Claude Code, node, cargo, rbenv) andall(blacklist: system processes only) - fzf-powered UI -- Fuzzy search, multi-select, real-time preview
- Detail preview -- Process info, command line, open files in side pane
- Safe kill -- SIGTERM with automatic list reload
- Catppuccin Frappe theme -- Consistent color scheme
- fzf (>= 0.57)
brew install fzfgit clone https://github.com/gunubin/proclean.git
cd proclean
npm install && npm run build
npm link# dev mode (default): Claude Code, node, cargo, rbenv orphans
proclean
# all mode: everything except /System, /usr, /Library/Apple
proclean -aBind to a key for quick access:
bind P display-popup -E -w 50% -h 50% "proclean"| Key | Action |
|---|---|
TAB |
Toggle selection |
Enter |
Kill selected processes |
Ctrl-A |
Select / deselect all |
Ctrl-C |
Quit |
| Type to search | Fuzzy filter |
Whitelist -- only shows orphans matching:
.local/share/claude(Claude Code).npm,.nvm,.nodebrew(Node.js).cargo(Rust).rbenv(Ruby)- Standalone
nodeprocesses bash/zshspawned by Claude (.claude/in args)
Blacklist -- shows everything except:
/System/*/usr/*/Library/Apple/*
MIT