| title | dotnet nuget list source command |
|---|---|
| description | The dotnet nuget list source command lists all existing sources from your NuGet configuration files. |
| ms.date | 10/28/2025 |
This article applies to: ✔️ .NET 6 SDK and later versions
dotnet nuget list source - Lists all configured NuGet sources.
dotnet nuget list source [--format [Detailed|Short]] [--configfile <FILE>]
dotnet nuget list source -h|--help
The dotnet nuget list source command lists all existing sources from your NuGet configuration files.
-
[!INCLUDE configfile]
-
--format [Detailed|Short]The format of the list command output:
Detailed(the default) andShort.
-
List configured sources from the current directory:
dotnet nuget list source