12,985
stars
+0+0+3
631
forks
75
watchers
860
prs
887
issues
105
releases
–
discussions
README
pipx — Install and Run Python Applications in Isolated Environments
Documentation:
Source Code:
_For comparison to other tools including pipsi, see
Comparison to Other Tools._
Overview: What is pipx?
pipx installs and runs end-user applications written in Python. It's roughly similar to macOS's brew,
JavaScript's npx, and Linux's
apt.
It's closely related to pip. It installs with uv when available and
pip otherwise, but focuses on installing and managing Python packages you run directly from the command line as
applications.
Features
pipx enables you to
- expose CLI entrypoints of packages ("apps") installed to isolated environments with the install command,
guaranteeing no dependency conflicts and clean uninstalls;
- list, upgrade, and uninstall packages you installed with pipx; and
- run the latest version of a Python application in a temporary environment with the run command.
pipx runs with regular user permissions and never calls sudo pip install.
Install pipx
On macOS
brew install pipx
pipx ensurepath
On Linux
Install pipx with your distribution's package manager. See the
Linux installation instructions for commands and alternatives.
pipx ensurepath
On Windows
scoop install pipx
pipx ensurepath
For more detailed installation instructions, see the
full documentation.
Quick Start
Install an application for your user:
pipx install pycowsay
pycowsay mooo
Run an application without installing:
pipx run pycowsay moo
See the full documentation for more details.
Contributing
Issues and pull requests are welcome. Check out Contributing to get
started. We expect everyone who interacts with the pipx project via codebase, issue tracker, chat rooms, or otherwise to
follow the PSF Code of Conduct.