Install and run Python applications in isolated environments
open sourceMITself-hostablefree
pipx installs and runs end-user Python applications, each in its own virtual environment, so their dependencies never collide and an uninstall leaves nothing behind. It exposes each app's commands on your PATH and runs with regular user permissions, so you never need sudo pip install, and pipx run starts the latest version of an app in a temporary environment without installing it. It uses uv under the hood when available and pip otherwise, and pulls from PyPI, local directories, wheels or git URLs. Chad Smith created it; a team of volunteers maintains it under the Python Packaging Authority.
Ways to install
Package managers
Problems it solves
- install Python command-line tools without their dependencies clashing with each other
- stop using sudo pip install to put Python CLI tools on my PATH
- try a Python command-line tool once without installing it permanently
- upgrade or uninstall all my Python CLI apps with one command and leave nothing behind
- my Linux distro blocks pip install --user, so I need another way to install Python CLI tools
- install a Python tool straight from a git URL or a local folder
- pin a Python CLI tool to one version so upgrades don't break my workflow
- add an extra plugin package into an installed Python tool's environment
Features
- a separate virtual environment for each application
- exposes each app's console scripts on PATH
- pipx run for one-off runs in a temporary environment
- list, upgrade and uninstall managed apps
- inject extra packages into an app's environment
- pin packages
- uv backend, or pip when uv isn't available
- standalone Python downloads
- system-wide installs with --global
- JSON output and a tool manifest
Limitations
- Doesn't install libraries you import in your code: only packages with console script entry points4
Capabilities
| Has a command line tool | plan not known |
|---|
Alternatives
The same job
These do what pipx does.