1dotnet-tool-search(1)         .NET Documentation         dotnet-tool-search(1)
2
3
4
6       This article applies to: ✔️ .NET 5 SDK and later versions
7

NAME

9       dotnet-tool-search  -  Searches  all  .NET  tools that are published to
10       NuGet.
11

SYNOPSIS

13              dotnet tool search [--detail]  [--prerelease]
14                  [--skip <NUMBER>] [--take <NUMBER>] <SEARCH TERM>
15
16              dotnet tool search -h|--help
17

DESCRIPTION

19       The dotnet tool search command provides a way for you to  search  NuGet
20       for  tools  that can be used as .NET global, tool-path, or local tools.
21       The command searches the tool names and metadata such  as  titles,  de‐
22       scriptions, and tags.
23
24       The  command uses the NuGet Search API.  It filters on packageType=dot‐
25       nettool to select only .NET tool packages.
26

OPTIONS

28--detail
29
30         Shows detailed results from the query.
31
32--prerelease
33
34         Includes pre-release packages.
35
36--skip <NUMBER>
37
38         Specifies the number of query results to skip.  Used for pagination.
39
40--take <NUMBER>
41
42         Specifies the number of query results to show.  Used for pagination.
43
44-?|-h|--help
45
46         Prints out a description of how to use the command.
47

EXAMPLES

49       • Search NuGet.org for .NET tools that have “format” in  their  package
50         name or description:
51
52                dotnet tool search format
53
54         The output looks like the following example:
55
56                Package ID                              Latest Version      Authors                                                                     Downloads      Verified
57                ---------------------------------------------------------------------------------------------------------------------------------------------------------------
58                dotnet-format                           4.1.131201          Microsoft                                                                   496746
59                bsoa.generator                          1.0.0               Microsoft                                                                   533
60
61       • Search  NuGet.org  for .NET tools that have “format” in their package
62         name or metadata, show only the first result,  and  show  a  detailed
63         view.
64
65                dotnet tool search format --take 1 --detail
66
67         The output looks like the following example:
68
69                ----------------
70                dotnet-format
71                Latest Version: 4.1.131201
72                Authors: Microsoft
73                Tags:
74                Downloads: 496746
75                Verified: False
76                Description: Command line tool for formatting C# and Visual Basic code files based on .editorconfig settings.
77                Versions:
78                        3.0.2 Downloads: 1973
79                        3.0.4 Downloads: 9064
80                        3.1.37601 Downloads: 114730
81                        3.2.107702 Downloads: 13423
82                        3.3.111304 Downloads: 131195
83                        4.0.130203 Downloads: 78610
84                        4.1.131201 Downloads: 145927
85

SEE ALSO

87       • .NET tools
88
89       • Tutorial: Install and use a .NET global tool using the .NET CLI
90
91       • Tutorial: Install and use a .NET local tool using the .NET CLI
92
93
94
95                                  2022-10-10             dotnet-tool-search(1)
Impressum