Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

pipx

$ pipx Foundation Low Risk
PyPA · Code & DevOps · MIT · macos / linux / windows

pipx installs Python CLI tools into isolated per-package virtualenvs and exposes their entrypoints on PATH, preventing dependency conflicts. Agents can inspect installed tools via pipx list --json and run ephemeral tools cleanly with pipx run.

FCRS-1.0 Score
84 /100
Good
Medium Confidence
Zero-Friction Install
brew install pipx
CLI vs MCP Decision CLI Preferred vs MCP

pipx manages isolated local virtualenvs and binary shims under ~/.local/pipx; local CLI provisioning cannot be replaced by an MCP server.

Agent-Readiness Checklist

✓ JSON Output
— Field Filtering
✓ Non-Interactive
— Dry-Run
— Read-Only Mode
— NO_COLOR Clean
✓ Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 20 / 25

Provides pipx list --json (or --output json), non-interactive execution by default, and deterministic pipx run, though install logs are plain text.

  • pipx list --json exports full venv and entrypoint inventory
  • Ephemeral pipx run runs without interactive prompts
Trust & Safety 21 / 25

Isolates every Python CLI in its own venv under ~/.local/pipx/venvs, preventing global site-packages contamination.

  • Per-tool virtualenv isolation avoids dependency conflicts
Setup & Portability 13 / 15

Available via Homebrew, apt, scoop, and PyPI across macOS, Linux, and Windows, requiring Python 3.8+.

  • Cross-platform availability via brew install pipx and pip install pipx
Utility & Efficiency 13 / 15

pipx run and pipx inject streamline one-off CLI execution, though uvx (uv tool run) is faster for cold environments.

  • Cleanly isolates Python CLI apps, though slower cold creation than uvx
Maintenance & Lineage 9 / 10

Official PyPA project (pypa/pipx) licensed under MIT with steady maintenance.

  • Maintained under PyPA (pypa/pipx)
Docs & Verifiability 8 / 10

Clear documentation at pipx.pypa.io and structured --help across subcommands.

  • Official docs at pipx.pypa.io/stable/docs

Security, Auth & Guardrails

Auth Modes
No Auth Config File OS Keychain
Credential Storage

Public PyPI packages need no auth; private index auth follows standard pip configuration (pip.conf, .netrc, keyring).

Side Effects
Read-Only Local Write
Cost & Quotas

MIT open-source CLI maintained by PyPA; free to use.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# pipx Agent Rules
- Check `pipx list --json` before installing a Python CLI globally.
- Prefer `pipx run <tool>` for one-off invocations instead of `pipx install`.

Agent-Ready Command Recipes

Safe Read-Only Queries

Inspect installed pipx tools as JSON
pipx list --json

Dumps all isolated virtualenvs, injected packages, Python versions, and binary entrypoints in JSON.

Print pipx path and environment settings
pipx environment

Displays resolved PIPX_HOME, PIPX_BIN_DIR, and Python interpreter paths.

Controlled Writes & Previews

Run a Python CLI ephemerally without global install
pipx run ruff check .

Downloads and runs a tool in a cached temporary virtualenv without altering global environments.

Strengths for Agents

  • + pipx list --json outputs a complete, portable snapshot of installed CLI virtualenvs.
  • + Isolates Python CLI dependencies cleanly so tools never break each other.
  • + pipx run executes one-off tools without polluting global PATH.

Caveats & Pitfalls

  • ! No --dry-run flag on pipx install or pipx upgrade-all.
  • ! Slower virtualenv creation and resolution than uv tool / uvx.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI