Skip to main content

pkgview

A CLI tool that lists all programs installed on your system and shows whether each one is managed by a package manager (brew, npm, pip, cargo, apt, snap, flatpak) or was installed manually — and therefore needs to be maintained by you.

┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━┓
┃ Name                          ┃ Manager        ┃ Version    ┃ Type  ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━┩
│ git                           │ 🍺 brew        │ 2.54.0     │ cli   │
│ k9s                           │ 🍺 brew        │ 0.50.18    │ cli   │
│ firebase-tools                │ 📦 npm         │ 15.8.0     │ cli   │
│ black                         │ 🐍 pip         │ 24.3.0     │ cli   │
│ docker                        │ ⚠  manual      │ –          │ cli   │
│ code                          │ ⚠  manual      │ –          │ cli   │
└───────────────────────────────┴────────────────┴────────────┴───────┘

Total: 75 programs  │  57 managed  │  18 manual

Features

  • Detects programs from: brew, brew-cask, npm (global), pip, pipx, cargo, apt, snap, flatpak, conda / mamba / micromamba, pacman, dnf / yum, apk, nix, gem, composer, winget, scoop, chocolatey, nvm, asdf, pyenv
  • Scans /Applications and ~/Applications on macOS for GUI apps
  • Marks everything not tracked by a package manager as manual
  • Correctly ignores macOS/Linux system binaries (/bin, /usr/bin, etc.)
  • Correctly ignores Homebrew sub-binaries (e.g. dart from the flutter cask)
  • All detectors run in parallel — fast even with many package managers installed
  • Outputs a color-coded table or raw JSON (--json)
  • Check for available updates with --outdated
  • Export snapshots to JSON or CSV with --export

Requirements

  • Python 3.9+ (already present on macOS and most Linux distros)
  • No other runtime required

Installation

pipx installs CLI tools in an isolated environment automatically.

# Install pipx once (macOS)
brew install pipx
pipx ensurepath

# Install pkgview directly from GitHub
pipx install git+https://github.com/bini93/pkgview.git

The pkgview command is immediately available system-wide.

Update to the latest version:

pipx upgrade pkgview

Alternative – with pip (once published on PyPI)

pip install pkgview
# or
uv tool install pkgview

For development setup, project structure, and contribution guidelines, see DEVELOPMENT.md.

Usage

pkgview [OPTIONS]
Flag Short Default Description
--filter TEXT -f – Show only programs from one manager.
Values: brew, brew-cask, npm, pip, pipx, cargo, apt, snap, flatpak, conda, mamba, micromamba, pacman, yay, dnf, yum, zypper, apk, nix, gem, composer, winget, scoop, chocolatey, nvm, asdf, pyenv, manual
--sort TEXT -s manager Sort column: name, manager, version
--json -j off Output raw JSON instead of a table
--paths -p off Add a Path column to the table
--outdated -o off Check for available updates; highlight outdated packages in red
--export PATH -e – Save snapshot to file (.csv → CSV, everything else → JSON)
--no-apps – off Exclude GUI apps (/Applications)
--no-manual – off Hide manually installed programs
--verbose -v off Show each detector's name, package count, and elapsed time
--version -V – Show version and exit
--help – – Show help and exit

Examples

# List everything, sorted by manager (default)
pkgview

# Show only manually installed programs (needs attention)
pkgview --filter manual

# Show only Homebrew formulas, sorted by name
pkgview --filter brew --sort name

# Show with full paths
pkgview --paths

# Export as JSON (e.g. for backups or scripting)
pkgview --json > programs.json

# Hide noise: no system apps, no manual tools
pkgview --no-apps --no-manual

Supported Package Managers

Icon Manager Platform Detection method
🍺 brew macOS, Linux brew list --versions
🍺 brew-cask macOS brew list --cask
📦 npm macOS, Linux npm list -g --depth=0 --json
🐍 pip macOS, Linux pip list --format=json
🐍 pipx macOS, Linux pipx list --json
🦀 cargo macOS, Linux cargo install --list
🐧 apt Linux (Debian/Ubuntu) apt-mark showmanual
🐧 snap Linux snap list
🐧 flatpak Linux flatpak list --app
🐍 conda macOS, Linux conda list --json
🐍 mamba / micromamba macOS, Linux mamba list --json / micromamba list --json
🐧 pacman Linux (Arch) pacman -Qe
🐧 yay Linux (Arch AUR) recognized; no active detector
🐧 dnf / yum Linux (Fedora/RHEL) dnf repoquery --userinstalled
🐧 zypper Linux (openSUSE) recognized; no active detector
🐧 apk Linux (Alpine) apk list --installed
❄ nix macOS, Linux nix-env -q
💎 gem macOS, Linux gem list --no-verbose
🎵 composer macOS, Linux composer global show --format=json
🪟 winget Windows winget list --source winget
🪟 scoop Windows scoop list
🍫 chocolatey Windows choco list --local-only
🟩 nvm macOS, Linux scans ~/.nvm/versions/node/
🔧 asdf macOS, Linux scans ~/.asdf/installs/
🐍 pyenv macOS, Linux scans ~/.pyenv/versions/
⚠ manual macOS, Linux PATH scan (cross-referenced)

Missing package managers are silently skipped — no errors.

Roadmap

  • pkgview --outdated — highlight packages with available updates
  • pkgview --export — save snapshot as JSON/CSV for system backups
  • nvm / asdf / pyenv detector
  • Windows support (winget, scoop, chocolatey)
  • conda / mamba detector
  • pacman / dnf / apk / nix / gem / composer detectors
  • TUI mode with Textual (pkgview --tui)
  • Docker Desktop, VS Code extension detection
  • Publish to PyPI — pipx install pkgview without GitHub URL
  • Homebrew Tap — brew install yourname/tap/pkgview

License

GPL-3.0-or-later — see LICENSE for details.

Metadata

Release files for pkgview 0.6.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pkgview 0.6.1
File Size Uploaded Provenance Actions
pkgview-0.6.1.tar.gz 42.1 kB With provenance Details for pkgview-0.6.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pkgview 0.6.1
File Interpreter ABI Platform Actions
pkgview-0.6.1-py3-none-any.whl Python 3 none any Details for pkgview-0.6.1-py3-none-any.whl

Total release size: 84.7 kB

Release files / pkgview-0.6.1.tar.gz

Download URL pkgview-0.6.1.tar.gz
Size 42.1 kB
Tags Source
SHA-256 checksum
How to use checksums
4fcae7000103b42e0d7eb7954944943a74915eac97865f2e29f6e7d4011167c8
BLAKE2b-256 checksum
How to use checksums
5eb432e64923b6427277f1804655131e09da283627a30fb0c351580541b1a18c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 25, 2026.

Transparency log

Release files / pkgview-0.6.1-py3-none-any.whl

Download URL pkgview-0.6.1-py3-none-any.whl
Size 42.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
15f7aa77cea7150cf14c156a7c055ef17748d954cdd620c8d89210c5e2d63b72
BLAKE2b-256 checksum
How to use checksums
9c0cbf36267d907e81ecdae7493d1d4b818d6e9dffec8706ba8b241637b45e63
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 25, 2026.

Transparency log

Security for pkgview 0.6.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for pkgview-0.6.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 25, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page