Skip to main content
VulnParse-Pin emblem VulnParse-Pin emblem
VulnParse-Pin
Installation and Usage Installation.md
View source on GitHub ↗

Installation

VulnParse-Pin (vpp) is a cross-platform vulnerability intelligence CLI (Linux, macOS, and Windows) distributed under the Apache License, Version 2.0 (v2.0.0+) via native Linux packages (APT/DNF), Homebrew, PyPI, GitHub Releases, and multi-arch OCI containers.

See the Usage Guide for all subcommands and flags, Workflow Examples for runnable end-to-end workflows, and Deployment Options for container, Kubernetes, and systemd deployments. For known constraints, refer to Known Limitations.

Native Packages & Homebrew (Zero Python Setup Required)

Native distro packages and Homebrew bottles include the interactive Textual TUI ([ui]), vpp.1/vulnparse-pin.1 man pages, and bash/zsh/fish shell completions out of the box.

Homebrew (macOS & Linux)

Install directly from the official QT-Ashley/homebrew-tap-vpp:

brew install qt-ashley/tap-vpp/vulnparse-pin
  • Precompiled bottles: CI-built bottles for arm64_sequoia (Apple Silicon macOS), x86_64_linux, and arm64_linux are hosted on GitHub Releases for fast installation without compiling from source.
  • What is included: Depends on Homebrew python@3.12, bundles the [ui] (textual) extra, and installs vpp, vulnparse-pin, vpp.1/vulnparse-pin.1 man pages, and bash, zsh, and fish completions.

Debian / Ubuntu / Kali (APT & .deb)

Add the GPG-signed APT repository (https://pkg.vulnparse-pin.com/apt, suite stable, component main, architectures amd64 and arm64):

sudo install -d -m 0755 /usr/share/keyrings
curl -fsSL https://pkg.vulnparse-pin.com/gpg.key | sudo gpg --dearmor -o /usr/share/keyrings/vulnparse-pin.gpg
echo "deb [signed-by=/usr/share/keyrings/vulnparse-pin.gpg] https://pkg.vulnparse-pin.com/apt stable main" | sudo tee /etc/apt/sources.list.d/vulnparse-pin.list > /dev/null
sudo apt-get update
sudo apt-get install -y vulnparse-pin
  • Universal self-contained .deb: Bundles a relocatable CPython 3.12.16 runtime and [ui] (textual) under /opt/vulnparse-pin so it works on any supported Debian, Ubuntu, or Kali release with zero system Python dependency conflicts.
  • Installed system paths:
    • POSIX wrappers: /usr/bin/vpp and /usr/bin/vulnparse-pin
    • Man pages: /usr/share/man/man1/vpp.1.gz and /usr/share/man/man1/vulnparse-pin.1.gz
    • Shell completions: /usr/share/bash-completion/completions/vpp, /usr/share/bash-completion/completions/vulnparse-pin, /usr/share/zsh/vendor-completions/_vpp, and /usr/share/fish/vendor_completions.d/vpp.fish

RHEL / Rocky / Alma / Fedora (DNF & .rpm)

Configure the GPG-signed RPM repository (https://pkg.vulnparse-pin.com/rpm) with both package and repository metadata signature checks enabled:

sudo tee /etc/yum.repos.d/vulnparse-pin.repo > /dev/null <<'EOF'
[vulnparse-pin]
name=VulnParse-Pin Repository
baseurl=https://pkg.vulnparse-pin.com/rpm
enabled=1
gpgcheck=1
repo_gpgcheck=1
gpgkey=https://pkg.vulnparse-pin.com/gpg.key
EOF
sudo dnf install -y vulnparse-pin
  • Universal self-contained .rpm (x86_64 / aarch64): Ships the exact same self-contained /opt/vulnparse-pin CPython 3.12.16 + [ui] runtime, /usr/bin/vpp and /usr/bin/vulnparse-pin wrappers, man pages, and bash/zsh/fish completions.

Air-Gapped Package Download & Verification

For offline or air-gapped hosts, download the .deb (amd64 or arm64) or .rpm (x86_64 or aarch64) package together with SHA256SUMS and SHA256SUMS.asc from GitHub Releases (and the signing key from https://pkg.vulnparse-pin.com/gpg.key):

# 1. Import the release GPG key and verify the signed checksum manifest
gpg --import gpg.key
gpg --verify SHA256SUMS.asc SHA256SUMS
sha256sum -c --ignore-missing SHA256SUMS

# 2. (Optional, where GitHub CLI is available) Verify SLSA build provenance
gh attestation verify vulnparse-pin_2.1.1-1_amd64.deb --repo QT-Ashley/VulnParse-Pin

# 3. Install offline with zero system Python or internet access required
sudo dpkg -i vulnparse-pin_2.1.1-1_amd64.deb
# Or on RHEL / Rocky / Alma / Fedora:
sudo rpm -Uvh vulnparse-pin-2.1.1-1.x86_64.rpm

Python Installation (pipx / uv / pip)

If you prefer installing into a Python environment instead of a native OS package:

Requirements

  • Python 3.11 or later (CI tests Python 3.11, 3.12, 3.13, and 3.14):

    python --version

Isolated CLI Install with pipx or uv

Using pipx or uv installs vpp and vulnparse-pin in an isolated environment while placing the CLI directly on your PATH.

With pipx

  • With interactive Textual TUI & MCP extras ([ui,mcp]):

    pipx install "vulnparse-pin[ui,mcp]"
  • Core headless CLI & Browser Workbench (minimal dependencies; includes built-in vpp gui 7-tab browser workbench, stdlib vpp mcp, vpp assets, vpp simulate, and core ML inference):

    pipx install vulnparse-pin

With uv

  • With interactive Textual TUI & MCP extras ([ui,mcp]):

    uv tool install "vulnparse-pin[ui,mcp]"
  • Core CLI & Browser Workbench (vpp gui) only:

    uv tool install vulnparse-pin

Alternative: Install with pip in a Virtual Environment

  1. Create and activate a virtual environment:

    python -m venv .venv
    # Linux / macOS:
    source .venv/bin/activate
    # Windows PowerShell:
    # .venv\Scripts\Activate.ps1
    # Windows cmd.exe:
    # .venv\Scripts\activate.bat
  2. Install VulnParse-Pin:

    pip install "vulnparse-pin[ui,mcp,ml]"

    Or for headless CLI-only usage:

    pip install vulnparse-pin
  3. For local development, testing, offline ML training ([ml-train]), and CycloneDX SBOM generation:

    pip install -e ".[dev,ui,mcp,ml,ml-train,sbom]"
Optional Extra Packages Purpose
(Core install) (stdlib + core dependencies) Includes vpp gui (7-tab zero-CDN browser workbench), vpp assets, vpp simulate, stdlib vpp mcp, and core ML inference — zero optional extras required
[ui] textual>=2.1.0 Interactive terminal TUI (vpp ui)
[mcp] mcp>=1.6.0 Optional MCP SDK ecosystem interop (core vpp mcp also runs with pure stdlib)
[ml] onnxruntime>=1.20.0 (MIT) Optional ONNX Runtime acceleration (provider: onnx)
[ml-train] scikit-learn>=1.5.0 (BSD-3-Clause) Optional scikit-learn ML training helpers alongside pure-Python trainer
[sbom] cyclonedx-bom>=7.3.0 CycloneDX SBOM generation

Verify Installation

Both vpp and vulnparse-pin console scripts (as well as python -m vulnparse_pin) are installed:

vpp --help
vpp --version

Or using the full command name:

vulnparse-pin --help
vulnparse-pin --version

Run the 100% offline bundled demo to verify DuckDB, reporting, and interactive UI wiring end-to-end:

# Headless CLI & report exports only (writes dossier, roadmap, simulator HTML, and RunManifest):
vpp demo --no-ui

# Or launch the built-in local browser GUI (works on core install):
vpp demo --gui

# Or launch the Textual terminal TUI (requires [ui] extra):
vpp demo

Environment Variables

VulnParse-Pin supports the following environment variables across runtime storage, threat-intel cache integrity, API lookups, and webhook delivery:

Environment Variable Purpose Default / Notes
VULNPARSE_PIN_PORTABLE Set to 1, true, yes, y, or on to enable portable ./data storage instead of OS user data directories Unset (false); equivalent to passing --portable / -P (src/vulnparse_pin/core/apppaths.py)
VP_SQLITE_HMAC_KEY HMAC-SHA256 signing key for local SQLite threat-intel index files (nvd_cache.sqlite3, epss_cache.sqlite3, kev_cache.sqlite3, ghsa_cache.sqlite3, osv_cache.sqlite3) Unset (falls back to unsigned SHA-256 digest verification in .sig.json); set a shared secret for tamper-evident cache enforcement (vpp intel status)
VP_FEED_CACHE_HMAC_KEY HMAC-SHA256 signing key for cached raw feed files managed by FeedCacheManager Unset (falls back to SHA-256 checksum sidecar); required when verifying HMAC-signed raw feed bundles across staging and air-gapped enclaves
VP_GHSA_TK GitHub personal access token used by online --ghsa enrichment lookups (configured via enrichment.ghsa_token_env in config.yaml) Unset; falls back to GITHUB_TOKEN if unset or invalid (src/vulnparse_pin/utils/ghsa_enrichment.py)
GITHUB_TOKEN Standard GitHub Actions / CLI token fallback for online --ghsa lookups when VP_GHSA_TK is unset Unset; increases GitHub API rate limits when querying GHSA online
VP_WEBHOOK_HMAC_KEY HMAC-SHA256 signing secret for outbound scan-complete webhook payloads (configured via webhook.signing_key_env in config.yaml) Unset; required when delivering signed webhooks (--webhook-endpoint or webhook.enabled: true in config.yaml)
VP_MODEL_HMAC_KEY Optional HMAC-SHA256 signing/verification secret for custom or enclave ML .sig.json model sidecars (src/vulnparse_pin/ml/registry.py) Unset (falls back to SHA-256 verification on .sig.json); set to enforce HMAC authentication on model artifacts

NOTE
If you enable VP_SQLITE_HMAC_KEY or VP_FEED_CACHE_HMAC_KEY on a workspace that previously generated unsigned SHA-256 caches, refresh or re-sync your local caches with vpp intel sync --refresh (or --allow-regen for local sidecar regeneration) so vpp intel status validates cleanly under the HMAC key.

Additional Notes

  • Distribution format (v2.0.0+): Starting with v2.1.0, VulnParse-Pin ships as GPG-signed universal .deb and .rpm packages (via https://pkg.vulnparse-pin.com/apt and https://pkg.vulnparse-pin.com/rpm) and Homebrew bottles (QT-Ashley/homebrew-tap-vpp) with bundled CPython 3.12.16 and [ui], alongside standard attested Python wheels and source distributions via PyPI and GitHub Releases (SHA256SUMS, SHA256SUMS.asc, and SLSA provenance attestations), multi-arch OCI container images at ghcr.io/qt-ashley/vulnparse-pin, and a root source Dockerfile (PyInstaller --onefile binaries were retired after v1.2.2). For containerized, systemd, Kubernetes, or air-gapped deployments, see Deployment Options.
  • Support: For questions or issues, visit GitHub Issues or email support@vulnparse-pin.com.
  • Upgrades: Review Upgrade and Migration before upgrading from v1.x to v2.0.0.