Package Manager Helper — a CLI and TUI tool for inspecting Python (pip), npm, cargo, go, and other package ecosystems. Zero external dependencies; uses only subprocess to query system package managers.
pkg-helper pip list— List installed pip packages with versionspkg-helper pip search <term>— Search pip packages by namepkg-helper pip outdated— Show outdated pip packagespkg-helper pip deps <package>— Show dependency tree of a pip packagepkg-helper pip freeze [output]— Export installed packages torequirements.txtpkg-helper npm list— List global npm packagespkg-helper check— Check if pip, npm, cargo, go, gem, brew are installedpkg-helper size <package>— Estimate installed size of a pip packagepkg-helper --tui— Launch the curses-based interactive TUI
# Install from source
cd /root/evolver-packages/pkg-helper
pip install -e .
# Or directly via pip (once published)
pip install pkg-helper# List installed pip packages
pkg-helper pip list
# Search for a package
pkg-helper pip search requests
# Check for outdated packages
pkg-helper pip outdated
# Show a package's dependency tree
pkg-helper pip deps flask
# Freeze current environment to requirements.txt
pkg-helper pip freeze
pkg-helper pip freeze custom-requirements.txt
# List global npm packages
pkg-helper npm list
# Check which tools are installed
pkg-helper check
# Estimate package size
pkg-helper size numpy
# Launch the interactive TUI
pkg-helper --tuiThe TUI (pkg-helper --tui) provides a full curses-based interface with:
| Key | Action |
|---|---|
↑ / ↓ |
Navigate package list |
k / j |
Navigate (vim-style) |
Enter |
View package details |
/ |
Search packages |
o |
Toggle outdated view |
r |
Refresh package list |
h |
Help screen |
q / Esc |
Back / Quit |
The TUI shows installed pip packages with:
- Package name and version
- Outdated indicator (
! latest_version) — packages with newer versions are highlighted in yellow - Detail view — full
pip showoutput with scrolling - Search — searches via
pip index versions - Outdated view — aggregated view of all outdated packages
- Python 3.8+
- No external Python dependencies (uses
subprocessto call pip, npm, etc.) pipis required for pip-related commandsnpmis required for npm-related commands (optional)cargo,go,gem,breware optional —pkg-helper checkwill report their status
pkg-helper/
├── pyproject.toml
├── README.md
└── src/
└── pkg_helper/
├── __init__.py # Package metadata
├── __main__.py # python -m pkg_helper support
├── cli.py # CLI argument parsing and command implementations
└── tui.py # Curses-based TUI application
MIT