Home > Enterprise >  How to output the latest version of a pip package?
How to output the latest version of a pip package?

Time:01-13

Similar to how we can run npm show {package} version to get the latest version available for any npm package, is there an equivalent command for pip/python?

I don't necessarily want to upgrade to that version, I would just like to be able to output the latest version number available for any package.

CodePudding user response:

This command just shows the available versions of pip package, if I correctly understand your question.

python -m pip install --upgrade pip==

or to see any package versions:

pip install package_name==

P.s. Yes there will be an error, that says no match)

CodePudding user response:

You can use yolk3k as in this answer.

➜ pip install yolk3k
➜ yolk -V figgypy
figgypy 1.1.9
  •  Tags:  
  • Related