1dotnet-nuget-update-source(1) .NET Documentation dotnet-nuget-update-source(1)
2
3
4

dotnet nuget update source

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

NAME

9       dotnet-nuget-update-source - Update a NuGet source.
10

SYNOPSIS

12              dotnet nuget update source <NAME> [--source <SOURCE>] [--username <USER>]
13                  [--password <PASSWORD>] [--store-password-in-clear-text]
14                  [--valid-authentication-types <TYPES>] [--configfile <FILE>]
15
16              dotnet nuget update source -h|--help
17

DESCRIPTION

19       The  dotnet  nuget  update source command updates an existing source in
20       your NuGet configuration files.
21

ARGUMENTS

23NAME
24
25         Name of the source.
26

OPTIONS

28--configfile <FILE>
29
30         The NuGet configuration file (nuget.config) to  use.   If  specified,
31         only the settings from this file will be used.  If not specified, the
32         hierarchy of configuration files from the current directory  will  be
33         used.  For more information, see Common NuGet Configurations.
34
35-p|--password <PASSWORD>
36
37         Password to be used when connecting to an authenticated source.
38
39-s|--source <SOURCE>
40
41         Path to the package source.
42
43--store-password-in-clear-text
44
45         Enables  storing  portable  package  source  credentials by disabling
46         password encryption.
47
48-u|--username <USER>
49
50         Username to be used when connecting to an authenticated source.
51
52--valid-authentication-types <TYPES>
53
54         Comma-separated list of valid authentication types for  this  source.
55         Set this to basic if the server advertises NTLM or Negotiate and your
56         credentials must be sent using the Basic mechanism, for instance when
57         using a PAT with on-premises Azure DevOps Server.  Other valid values
58         include negotiate, kerberos, ntlm, and digest, but these  values  are
59         unlikely to be useful.
60

EXAMPLES

62       • Update a source with name of mySource:
63
64                dotnet nuget update source mySource --source c:\packages
65

SEE ALSO

67       • Package source sections in NuGet.config files
68
69       • sources command (nuget.exe)
70
71
72
73                                  2022-10-10     dotnet-nuget-update-source(1)
Impressum