项目的 README,来自 github.com/pypa/pipx。合并为一个 markdown 文件:README.md。
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?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
install command,
guaranteeing no dependency conflicts and clean uninstalls;run command.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.