Gangmax Blog

pipx

pipx“ is a tool for managing Python applications in isolated environments. For me, It’s used to install CLI tools written in Python as normal executable binary files, within isolated virtal Python environments which you don’t have to know about. For example, you can use “pipx” to install “poetry“. After that you can use “poetry” as a normal CLI command.

Use the following instructions to install “pipx”.

1
2
3
4
5
6
7
# On Mac:
brew install pipx
pipx ensurepath

# On Ubuntu:
sudo apt install pipx
pipx ensurepath

Use “pipx”.

1
2
3
4
5
# Install package.
pipx install poetry

# List installed packages.
pipx list

Comments