This article applies to: ✔️ .NET 8.0.2xx SDK and later versions
Contents
Arguments
• ALL
Get all merged NuGet configuration settings from multiple NuGet configuration files that will be ap‐
plied, when invoking NuGet command from the working directory path.
• CONFIG_KEY
Get the effective value of the specified configuration settings of the config section.
Description
The dotnetnugetconfigget Gets the NuGet configuration settings that will be applied from the config
section.
Dotnet Nuget Config Get
Thisarticleappliesto: ✔️ .NET 8.0.2xx SDK and later versions
Examples
• Lists all the Nuget configuration settings being applied to the current directory:
dotnet nuget config get all
• Lists the repositoryPath value from the config section being applied to the specified directory:
dotnet nuget config get repositoryPath --working-directory "C:/working-directory"
Name
dotnet-nuget-config-get - Gets the NuGet configuration settings that will be applied.
Options
• --show-path
Indicate that the NuGet configuration file path will be shown beside the configuration settings.
• --working-directory<DIRECTORY>
Specifies the directory to start from when listing configuration files. If not specified, the current
directory is used.
• -?|-h|--help
Prints out a description of how to use the command.
See Also
• nuGet.config reference
2024-10-02 dotnet-nuget-config-get(1)
Synopsis
dotnet nuget config get <ALL | CONFIG_KEY> [--show-path] [--working-directory <DIRECTORY>]
dotnet nuget config get -h|--help
