dotnet-package-search(1)
π dotnet-package-search β the search bar for NuGet, but make it terminal
okay bestie, welcome to dotnet-package-search(1) from the .NET Documentation manual. this one applies to: βοΈ .NET 8.0.2xx SDK and later versions β so if you're on something older, this page is not for you, sorry not sorry π«Ά
β¨ NAME β¨
dotnet-package-search β Searches for a NuGet package.
like. it finds packages. that's the whole job. iconic behavior honestly.
πΈ SYNOPSIS πΈ
dotnet package search <SEARCH TERM> [--configfile <FILE>] [--exact-match] [--format <FORMAT OPTION>]
[--interactive] [--prerelease] [--skip <NUMBER>] [--source <SOURCE>] [--take <NUMBER>]
[--verbosity <VERBOSITY VALUE>]
dotnet package search -h|--help
π¦ DESCRIPTION π¦
The dotnet package search command searches for a NuGet package. that's it, that's the vibe. she's a searcher. she searches. periodt.
π ARGUMENTS π
- search terms β Specifies the search term to filter results. Use this argument to search for packages matching the provided query. Example:
dotnet package search json.
like yeah you literally just tell her what you're looking for and she goes and finds it. main character energy fr fr.
π OPTIONS π
--configfileβ The NuGet configuration file. If specified, only the settings from this file will be used. If not specified, the hierarchy of configuration files from the current directory will be used. For more information, see Common NuGet configurations.
ngl this is the "no actually, use THIS config, not whatever you found lying around" button π
--exact-matchβ This option narrows the search to only include packages whose IDs exactly match the specified search term, effectively filtering out any partial matches. It provides a concise list of all available versions for the identified package. Causes--takeand--skipoptions to be ignored. Utilize this option to display all available versions of a specified package.
okay so important: she will ignore your--takeand--skipwhen you use this. not a bug, just her being thorough. don't come for her.
--formatβ The format options aretableandjson. The default istable.--interactiveβ Allows the command to stop and wait for user input or action (for example to complete authentication).--prereleaseβ Allow prerelease packages to be shown.
beta girlies get to come to the party too π
--skipβ The number of results to skip, for pagination. The default value is0.--source <SOURCE>β The package source to search. You can pass multiple--sourceoptions to search multiple package sources.
stack them like friendship bracelets, bestie π
--takeβ The number of results to return. The default value is20.--verbosityβ Display this amount of details in the output:normal,minimal, ordetailed. The default isnormal.-?|-h|--helpβ Prints out a description of how to use the command.
β EXAMPLES β
π 1. table mode, up to 20 results
Search NuGet.org for packages that match the search term "Newtonsoft.Json," and render the output as a table with up to 20 packages:
dotnet package search Newtonsoft.Json --source https://api.nuget.org/v3/index.json
Source: https://api.nuget.org/v3/index.json
| Package ID | Latest Version | Owners | Downloads |
|---------------------------------------------|----------------|--------|-----------------|
| Newtonsoft.Json | 13.0.3 | | 3,829,822,911 |
|---------------------------------------------|----------------|--------|-----------------|
| Newtonsoft.Json.Bson | 1.0.2 | | 554,641,545 |
|---------------------------------------------|----------------|--------|-----------------|
| Newtonsoft.Json.Schema | 3.0.15 | | 39,648,430 |
|---------------------------------------------|----------------|--------|-----------------|
| Microsoft.AspNetCore.Mvc.NewtonsoftJson | 7.0.12 | | 317,067,823 |
|---------------------------------------------|----------------|--------|-----------------|
...
π§ 2. json mode, for the data girlies
Search NuGet.org for packages that match the search term "Newtonsoft.Json," and render the output as json.
dotnet package search Newtonsoft.Json --source https://api.nuget.org/v3/index.json --format json
{
"version": 2,
"problems": [],
"searchResult": [
{
"sourceName": "https://api.nuget.org/v3/index.json",
"packages": [
{
"id": "Newtonsoft.Json",
"latestVersion": "13.0.3",
"totalDownloads": 4456137550,
"owners": "dotnetfoundation, jamesnk, newtonsoft"
},
{
"id": "Newtonsoft.Json.Bson",
"latestVersion": "1.0.2",
"totalDownloads": 655362732,
"owners": "dotnetfoundation, jamesnk, newtonsoft"
},
{
"id": "Newtonsoft.Json.Schema",
"latestVersion": "3.0.15",
"totalDownloads": 46062119,
"owners": "jamesnk, newtonsoft"
},
{
"id": "Microsoft.AspNetCore.Mvc.NewtonsoftJson",
"latestVersion": "8.0.3",
"totalDownloads": 372202749,
"owners": "aspnet, dotnetframework, Microsoft"
},
{
"id": "Newtonsoft.Json.Encryption",
"latestVersion": "2.2.0",
"totalDownloads": 113101,
"owners": "simoncropp"
}
]
}
]
}
π 3. pagination, aka --skip + --take
Search NuGet.org for packages using the search term "Newtonsoft.Json," show only two results, and skip the first packages in the search result:
dotnet package search Newtonsoft.Json --source https://api.nuget.org/v3/index.json --skip 1 --take 2
Source: https://api.nuget.org/v3/index.json
| Package ID | Latest Version | Owners | Downloads |
|---------------------------------------------|----------------|--------|-----------------|
| Newtonsoft.Json.Bson | 1.0.2 | | 554,641,545 |
| Newtonsoft.Json.Schema | 3.0.15 | | 39,648,430 |
π 4. the exact match flex
Search for packages that exactly match "Newtonsoft.Json" and list all available versions of it, ignoring any packages that contain "Newtonsoft.Json" as a part of their name or description but don't match it exactly:
dotnet package search Newtonsoft.Json --source https://api.nuget.org/v3/index.json --exact-match
Source: https://api.nuget.org/v3/index.json
| Package ID | Version | Owners | Downloads |
|---------------------------------------------|---------|--------|-----------------|
| Newtonsoft.Json | 13.0.3 | | 3,829,822,911 |
notice how the column header saysVersionhere instead ofLatest Version? yeah.--exact-matchgives you every version, so she switches it up. ate. π₯
that's the whole page bestie, no notes, she's perfect π this was dotnet-package-search(1) from the .NET Documentation manual, dated 2025-06-13. go search something. slay. β¨π¦π
π¦ where this page comes from
- alpine 3.24: dotnet-doc 10.0.303-r2 Β· MIT
- centos-stream 10: dotnet-host 11.0.0~rc.2.26504.105-0.10.el10 Β· 0BSD AND Apache-2.0 AND (Apache-2.0 WITH LLVM-exception) AND APSL-2.0 AND BSD-2-Clause AND BSD-3-Clause AND BSD-4-Clause AND BSL-1.0 AND bzip2-1.0.6 AND CC0-1.0 AND CC-BY-3.0 AND CC-BY-4.0 AND CC-PDDC AND CNRI-Python AND EPL-1.0 AND GPL-2.0-only AND (GPL-2.0-only WITH GCC-exception-2.0) AND GPL-2.0-or-later AND GPL-3.0-only AND ICU AND ISC AND LGPL-2.1-only AND LGPL-2.1-or-later AND LicenseRef-Fedora-Public-Domain AND LicenseRef-ISO-8879 AND MIT AND MIT-Wu AND MS-PL AND MS-RL AND NCSA AND OFL-1.1 AND OpenSSL AND Unicode-DFS-2015 AND Unicode-DFS-2016 AND W3C-19980720 AND X11 AND Zlib
- centos-stream 9: dotnet-host 11.0.0~rc.2.26504.105-0.11.el9 Β· 0BSD AND Apache-2.0 AND (Apache-2.0 WITH LLVM-exception) AND APSL-2.0 AND BSD-2-Clause AND BSD-3-Clause AND BSD-4-Clause AND BSL-1.0 AND bzip2-1.0.6 AND CC0-1.0 AND CC-BY-3.0 AND CC-BY-4.0 AND CC-PDDC AND CNRI-Python AND EPL-1.0 AND GPL-2.0-only AND (GPL-2.0-only WITH GCC-exception-2.0) AND GPL-2.0-or-later AND GPL-3.0-only AND ICU AND ISC AND LGPL-2.1-only AND LGPL-2.1-or-later AND LicenseRef-Fedora-Public-Domain AND LicenseRef-ISO-8879 AND MIT AND MIT-Wu AND MS-PL AND MS-RL AND NCSA AND OFL-1.1 AND OpenSSL AND Unicode-DFS-2015 AND Unicode-DFS-2016 AND W3C-19980720 AND X11 AND Zlib
- fedora 43: dotnet-host 10.0.12-1.fc43
- fedora 43: dotnet-host 11.0.0~rc.1.26425.128-0.10.fc43 Β· 0BSD AND Apache-2.0 AND (Apache-2.0 WITH LLVM-exception) AND APSL-2.0 AND BSD-2-Clause AND BSD-3-Clause AND BSD-4-Clause AND BSL-1.0 AND bzip2-1.0.6 AND CC0-1.0 AND CC-BY-3.0 AND CC-BY-4.0 AND CC-PDDC AND CNRI-Python AND EPL-1.0 AND GPL-2.0-only AND (GPL-2.0-only WITH GCC-exception-2.0) AND GPL-2.0-or-later AND GPL-3.0-only AND ICU AND ISC AND LGPL-2.1-only AND LGPL-2.1-or-later AND LicenseRef-Fedora-Public-Domain AND LicenseRef-ISO-8879 AND MIT AND MIT-Wu AND MS-PL AND MS-RL AND NCSA AND OFL-1.1 AND OpenSSL AND Unicode-DFS-2015 AND Unicode-DFS-2016 AND W3C-19980720 AND X11 AND Zlib
- fedora 44: dotnet-host 10.0.12-1.fc44
- fedora 44: dotnet-host 10.0.4-1.fc44 Β· 0BSD AND Apache-2.0 AND (Apache-2.0 WITH LLVM-exception) AND APSL-2.0 AND BSD-2-Clause AND BSD-3-Clause AND BSD-4-Clause AND BSL-1.0 AND bzip2-1.0.6 AND CC0-1.0 AND CC-BY-3.0 AND CC-BY-4.0 AND CC-PDDC AND CNRI-Python AND EPL-1.0 AND GPL-2.0-only AND (GPL-2.0-only WITH GCC-exception-2.0) AND GPL-2.0-or-later AND GPL-3.0-only AND ICU AND ISC AND LGPL-2.1-only AND LGPL-2.1-or-later AND LicenseRef-Fedora-Public-Domain AND LicenseRef-ISO-8879 AND MIT AND MIT-Wu AND MS-PL AND MS-RL AND NCSA AND OFL-1.1 AND OpenSSL AND Unicode-DFS-2015 AND Unicode-DFS-2016 AND W3C-19980720 AND X11 AND Zlib
- fedora 44: dotnet-host 11.0.0~rc.1.26425.128-0.12.fc44 Β· 0BSD AND Apache-2.0 AND (Apache-2.0 WITH LLVM-exception) AND APSL-2.0 AND BSD-2-Clause AND BSD-3-Clause AND BSD-4-Clause AND BSL-1.0 AND bzip2-1.0.6 AND CC0-1.0 AND CC-BY-3.0 AND CC-BY-4.0 AND CC-PDDC AND CNRI-Python AND EPL-1.0 AND GPL-2.0-only AND (GPL-2.0-only WITH GCC-exception-2.0) AND GPL-2.0-or-later AND GPL-3.0-only AND ICU AND ISC AND LGPL-2.1-only AND LGPL-2.1-or-later AND LicenseRef-Fedora-Public-Domain AND LicenseRef-ISO-8879 AND MIT AND MIT-Wu AND MS-PL AND MS-RL AND NCSA AND OFL-1.1 AND OpenSSL AND Unicode-DFS-2015 AND Unicode-DFS-2016 AND W3C-19980720 AND X11 AND Zlib
- nixpkgs unstable: dotnet-vmr 11.0.0-rc.3
- ubuntu noble: dotnet-host-10.0 10.0.12-0ubuntu1~24.04.1
- ubuntu questing: dotnet-host-10.0 10.0.9-0ubuntu1~25.10.1
- ubuntu resolute: dotnet-host-10.0 10.0.12-0ubuntu1~26.04.1
- ubuntu resolute: dotnet-host-10.0 10.0.5-0ubuntu1 Β· MIT
- ubuntu stonking: dotnet-host-10.0 10.0.12-0ubuntu2 Β· MIT
- ubuntu stonking: dotnet-host-11.0 11.0.0~rc1-0ubuntu1 Β· MIT
- ubuntu stonking: dotnet-host-11.0 11.0.0~rc3-0ubuntu1~26.10.1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms