Documentation: https://pipx.pypa.io
Source Code: https://github.com/pypa/pipx
For comparison to other tools including pipsi, see Comparison to Other Tools.
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.
pipx enables you to
- expose CLI entrypoints of packages ("apps") installed to isolated environments with the
installcommand, 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
runcommand.
pipx runs with regular user permissions and never calls sudo pip install.
brew install pipx
pipx ensurepath
Install pipx with your distribution's package manager. See the Linux installation instructions for commands and alternatives.
pipx ensurepath
scoop install pipx
pipx ensurepath
For more detailed installation instructions, see the full documentation.
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.
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.