Events
Mar 17, 9 PM - Mar 21, 10 AM
Join the meetup series to build scalable AI solutions based on real-world use cases with fellow developers and experts.
Register nowThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
This article applies to: ✔️ .NET 5 SDK and later versions
dotnet tool search
- Searches all .NET tools that are published to NuGet.
dotnet tool search [--detail] [--prerelease]
[--skip <NUMBER>] [--take <NUMBER>] <SEARCH TERM>
dotnet tool search -h|--help
The dotnet tool search
command provides a way for you to search NuGet for tools that can be used as .NET global, tool-path, or local tools. The command searches the tool names and metadata such as titles, descriptions, and tags.
The command uses the NuGet Search API. It filters on packageType=dotnettool
to select only .NET tool packages.
--detail
Shows detailed results from the query.
--prerelease
Includes pre-release packages.
--skip <NUMBER>
Specifies the number of query results to skip. Used for pagination.
--take <NUMBER>
Specifies the number of query results to show. Used for pagination.
-?|-h|--help
Prints out a description of how to use the command.
Search NuGet.org for .NET tools that have "format" in their package name or description:
dotnet tool search format
The output looks like the following example:
Package ID Latest Version Authors Downloads Verified
---------------------------------------------------------------------------------------------------------------------------------------------------------------
dotnet-format 4.1.131201 Microsoft 496746
bsoa.generator 1.0.0 Microsoft 533
Search NuGet.org for .NET tools that have "format" in their package name or metadata, show only the first result, and show a detailed view.
dotnet tool search format --take 1 --detail
The output looks like the following example:
----------------
dotnet-format
Latest Version: 4.1.131201
Authors: Microsoft
Tags:
Downloads: 496746
Verified: False
Description: Command line tool for formatting C# and Visual Basic code files based on .editorconfig settings.
Versions:
3.0.2 Downloads: 1973
3.0.4 Downloads: 9064
3.1.37601 Downloads: 114730
3.2.107702 Downloads: 13423
3.3.111304 Downloads: 131195
4.0.130203 Downloads: 78610
4.1.131201 Downloads: 145927
.NET feedback
.NET is an open source project. Select a link to provide feedback:
Events
Mar 17, 9 PM - Mar 21, 10 AM
Join the meetup series to build scalable AI solutions based on real-world use cases with fellow developers and experts.
Register now