`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](https://medium.com/@maybekatz/introducing-npx-an-npm-package-runner-55f7d4bd282b), and Linux's `apt`.
# Installation
## [On macOS](https://github.com/pypa/pipx#on-macos)
### Using system Python
```
/usr/bin/pip3 install --user pipx
/usr/bin/python3 -m pipx ensurepath
sudo pipx ensurepath --global
```
### Using Homebrew
Note that aider chat does not work with Python 3.13.
```
brew install pipx
pipx ensurepath
sudo pipx ensurepath --global
```
`--global` is optional and allows pipx actions with the `--global` argument.
Upgrade pipx with `brew update && brew upgrade pipx`.
## [Ubuntu 23.04 and above](https://github.com/pypa/pipx#on-linux)
```
sudo apt update
sudo apt install pipx
pipx ensurepath
sudo pipx ensurepath --global
```
`--global` is optional and allows pipx actions with the `--global` argument.
# Packages
- [Aider](Aider%20setup.md)
- [Poetry](Poetry%20setup.md)
-