Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to list available package versions using the dotnet cli?

Using the dotnet cli how can you list the available package versions for a specific package?

like image 755
Simon Avatar asked Sep 01 '19 01:09

Simon


People also ask

Which command is used to install NuGet packages using dotnet CLI?

dotnet nuget add source command - . The dotnet nuget add source command adds a new package source to your NuGet configuration files.

What is .NET CLI?

The . NET command-line interface (CLI) is a cross-platform toolchain for developing, building, running, and publishing . NET applications.

How do I check my dotnet SDK version?

You can see both the SDK versions and runtime versions with the command dotnet --info .


1 Answers

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>
like image 193
thegameraut Avatar answered Sep 22 '22 21:09

thegameraut