pipx
A tool that installs a Python command-line application into its own private virtual environment and puts only its command on PATH.
In more detail
pipx install ruff gives you the ruff command without touching any project or the system Python. It is the recommended way to install Python tools on systems whose Python is externally managed.
Example
pipx install ruffRelated terms
- virtual environment — A self-contained folder with its own Python and its own installed packages, so each project's packages stay separate.
- externally managed environment — A marker, defined in PEP 668, that tells pip a Python belongs to the operating system or another package manager and must not be changed with pip.
- pip — Python's standard package installer, which downloads packages from the Python Package Index and installs them.
Taught in
- Installing Python On Linux — Hands-on Python: Complete Video Course & Book