TUI
The default killpy command launches a Textual application defined in killpy/cli.py.
What the TUI shows
- An
Environmentstab for virtual-environment style results - A dedicated
Pipxtab forpipxpackages
The current TUI does not expose dedicated tables for cache directories or build artifacts, even though those are detectable in the scanner and CLI flows.
Loading model
The TUI starts with an empty table and updates progressively while detector tasks finish. This is backed by the asynchronous scan_async flow in the scanner.
Keyboard shortcuts
j/k: move the cursor/: open the regex path filterEscape: clear and close the filter inputd: mark an environment for deletionCtrl+d: delete marked rows or all selected rows in multi-select modeShift+Delete: delete the highlighted row immediatelyt: toggle multi-select modeSpace: toggle the highlighted row in multi-select modea: select or deselect all visible rows in multi-select modeo: open the parent directory of the selected environmentp: remove__pycache__directories under the current scan rootu: uninstall the selectedpipxpackage from thePipxtabCtrl+q: quit the application
Safety model
- Nothing is deleted merely by scanning.
- Rows can be marked and then confirmed for deletion.
- Some environments may be flagged as system-critical if they match the currently active runtime environment.