Description
Describe the bug
When trying to install pipx for macOS as a --global option, pipx's documentation is incorrect so we should add the note to the "tip" section.
If installing on MacOS:
brew install pipx
pipx ensurepath
sudo pipx --global ensurepath # optional to allow pipx actions with --global argument
Link: https://www.pyopensci.org/python-package-guide/tutorials/get-to-know-hatch.html#install-hatch
How to reproduce
$ sudo pipx ensurepath --global
usage: pipx [-h] [--quiet] [--verbose] [--global] [--version]
{install,uninject,inject,upgrade,upgrade-all,uninstall,uninstall-all,reinstall,reinstall-all,list,interpreter,run,runpip,ensurepath,environment,completions}
...
pipx: error: unrecognized arguments: --global
Expected behavior
We switched ensurepath and --global so that --global comes first and now it's good to go!
Metadata
Metadata
Assignees
Labels
Type
Projects
Status