Install Python CLI Apps With pipx
Put command-line Python tools on your PATH each in their own virtualenv.
Run pipx install httpie to install the tool in an isolated environment and symlink it.
01Command
Command
$ pipx install httpie02What 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
!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: pipxEvidence: Execute binaries from Python packages in isolated environments. Packages pipx, which installs Python CLI applications in isolated environments.
- Official project documentationEvidence: Packages pipx, which installs Python CLI applications in isolated environments.
Last verified: 2026-09-22 · Category: Developer