Muokkaa

Jaa


dotnet nuget list source

This article applies to: ✔️ .NET Core 3.1.200 SDK and later versions

Name

dotnet nuget list source - Lists all configured NuGet sources.

Synopsis

dotnet nuget list source [--format [Detailed|Short]] [--configfile <FILE>]

dotnet nuget list source -h|--help

Description

The dotnet nuget list source command lists all existing sources from your NuGet configuration files.

Options

  • --configfile <FILE>

    The NuGet configuration file (nuget.config) to use. 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.

  • --format [Detailed|Short]

    The format of the list command output: Detailed (the default) and Short.

Examples

  • List configured sources from the current directory:

    dotnet nuget list source
    

See also