A POSIX Shell script for installing pipx with pipx
Download pipx-bootstrap.sh
and run it:
sh pipx-bootstrap.sh
or use ‘curl pipe shell’ technique:
curl https://raw.githubusercontent.com/un-def/pipx-bootstrap.sh/master/pipx-bootstrap.sh | sh
Script arguments are passed to pipx install pipx
command, e.g.,
sh pipx-bootstrap.sh --verbose --force
is equivalent to
pipx install pipx --verbose --force
The script uses python3
binary by default. It can be overriden with the environment variable PYTHON_BIN
:
PYTHON_BIN=/path/to/python sh pipx-bootstrap.sh