Files
webcoredesktop/content/software/pipx.md
T
2026-10-28 15:08:48 -06:00

29 lines
1.2 KiB
Markdown

---
title: "pipx"
category: "Languages and runtimes"
tagline: "Installs Python command-line apps, each in its own isolated environment."
source: "pacman"
package: "python-pipx"
command: "pipx"
website: "https://pipx.pypa.io/"
code: "https://github.com/pypa/pipx"
---
## What it is
pipx installs Python applications, the kind you run as commands, into separate virtual environments and puts their commands in `~/.local/bin`. Each app gets its own copy of its dependencies, so apps can't break each other or the system's Python.
## Why it's here
- **Safe installs.** Python apps from PyPI without touching the system Python.
- **One command per app.** `pipx install`, `pipx upgrade` and `pipx uninstall`.
- **Try before you install.** `pipx run` runs an app once without keeping it.
## On CoreDesktop
pipx is installed from pacman, and CoreDesktop uses it to install terrahour and gext, the command-line tool that installs its GNOME extensions. `update` upgrades the pipx apps CoreDesktop installs, and when Arch moves to a new Python version, which breaks pipx environments, it rebuilds all of them. Apps you install yourself are upgraded by you:
```
pipx upgrade-all
```