chocolatey

How do I get the list of all the versions of a package?


I would like to get the list of versions of a package. What is the command line for this?

It would be also nice to search in versions, for example: all the versions that are higher or lower than a specific version.


Solution

  • Update: Since v2.0.0 of chocolatey the command is

     choco search --exact <packagename> --all
    

    (Credit: Podbrushkin's comment https://stackoverflow.com/a/77393803/3102305)

    For versions prior to v2.0.0, you can just add the --all to the end of your request. You can also add -v for verbose output.

    Choco list packagename --all