Using the dotnet cli how can you list the available package versions for a specific package?
Asked
Active
Viewed 1.2k times
2 Answers
11
Short answer: It's not possible (as far as I know, as of Nov 25, 2019).
There are some other options, depending on what you're trying to accomplish.
- You can see the latest version(s) of installed packages you have that are outdated by running
dotnet list package --outdated
(requires .NET Core CLI 2.2+). - You can manually view the available versions for a package at nuget.org/packages. Not a CLI option, but that's an option.

undeniablyrob
- 1,339
- 2
- 16
- 16
-
thanks. i came to the same conclusion. will mark this as correct until/if the status changes – Simon Nov 26 '19 at 00:14
4
It's possible with "dotnet-search" a dotnet tool.
https://github.com/billpratt/dotnet-search
- You only need dotnet-core runtime 2.1
- Install via
dotnet tool install --global dotnet-search
- Search via
dotnet search <package-name>

thegameraut
- 41
- 2