The Principal Dev – Masterclass for Tech Leads

The Principal Dev – Masterclass for Tech Leads28-29 May

Join

pipx — Install and Run Python Applications in Isolated Environments

image PyPI version

Documentation: https://pipx.pypa.io

Source Code: https://github.com/pypa/pipx

For comparison to other tools including pipsi, see Comparison to Other Tools.

Overview: What is pipx?

pipx is a tool to help you install and run 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. In fact, it uses pip, but is focused on installing and managing Python packages that can be run from the command line directly as applications.

Features

pipx enables you to

Best of all, pipx runs with regular user permissions, never calling sudo pip install.

Install pipx

On macOS

brew install pipx
pipx ensurepath

On Linux

python3 -m pip install --user pipx
python3 -m pipx ensurepath

On Windows

scoop install pipx
pipx ensurepath

For more detailed installation instructions, see the full documentation.

Quick Start

Install an application globally:

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 definitely welcome! Check out Contributing to get started. Everyone who interacts with the pipx project via codebase, issue tracker, chat rooms, or otherwise is expected to follow the PSF Code of Conduct.

Join libs.tech

...and unlock some superpowers

GitHub

We won't share your data with anyone else.