Install Python CLI Apps With pipx

Put command-line Python tools on your PATH each in their own virtualenv.

macOSpackagespythonpipLow risk
Run pipx install httpie to install the tool in an isolated environment and symlink it.

01Command

Command
$ pipx install httpie

02What it does

pipx creates a dedicated virtualenv for each application, avoiding the dependency conflicts that come from pip install --user. Use pipx list to see installed apps and pipx upgrade-all to update them; pipx run executes a tool without installing it.

03Risk

RiskLow risk
CompatibilitymacOS with Homebrew installed
!Warning: Only install applications designed as CLIs; libraries should still go into your project's environment.

04Undo

✓No undo needed — this command does not change persistent state.

05Sources

  • Homebrew formula: pipx
    Homebrew · vendor-doc · 2026-09-20
    Evidence: Execute binaries from Python packages in isolated environments. Packages pipx, which installs Python CLI applications in isolated environments.
  • Official project documentation
    Official project · vendor-doc · 2026-09-20
    Evidence: Packages pipx, which installs Python CLI applications in isolated environments.

Last verified: 2026-09-22 · Category: Developer