A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://learn.microsoft.com/en-us/nuget/reference/cli-reference/cli-ref-config below:

NuGet CLI config command | Microsoft Learn

Applies to: all • Supported versions: all

Gets or sets NuGet configuration values. For additional usage, see Common NuGet configurations. For details on allowable key names, refer to the NuGet config file reference.

Usage
nuget config -Set <name>=[<value>] [<name>=<value> ...] [options]
nuget config -AsPath <name> [options]

where <name> and <value> specify a key-value pair to be set in the configuration. You can specify as many pairs as desired. To remove a value, specify the name and the = sign but no value.

For allowable key names, see the NuGet config file reference.

In NuGet 3.4+, <value> can use environment variables.

Options

Also see Environment variables

Examples
nuget config -Set repositoryPath=c:\packages -configfile c:\my.config

nuget config -Set repositoryPath=

nuget config -Set repositoryPath=%PACKAGE_REPO% -configfile %ProgramData%\NuGet\NuGetDefaults.Config

nuget config -Set HTTP_PROXY=http://127.0.0.1 -set HTTP_PROXY.USER=domain\user

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4