Despite a ton of Googling, I can’t find any docs for pip’s command line options/arguments. What does pip install -U mean? Does anyone have a link to a list of pip’s options and arguments?
Despite a ton of Googling, I can’t find any docs for pip’s command line
Share
Type
pip install -hto list help:So, if you already have a package installed, it will upgrade the package for you. Without the -U switch it’ll tell you the package is already installed and exit.
Each
pipsubcommand has its own help listing.pip -hshows you overall help, andpip [subcommand] -hgives you help for that sub command, such asinstall.You can also find the full reference documentation online; the General Options section covers switches available for every
pipsubcommand, while each subcommand has a separate Options section to cover subcommand-specific switches; see thepip installoptions section, for example.