dotnet-nuget-add-source - Man Page

dotnet nuget add source

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

Name

dotnet-nuget-add-source — Add a NuGet source.

Use package sources that you trust.

Synopsis

dotnet nuget add source <PACKAGE_SOURCE_PATH> [--name <SOURCE_NAME>] [--username <USER>]
    [--password <PASSWORD>] [--store-password-in-clear-text]
    [--valid-authentication-types <TYPES>] [--configfile <FILE>] [--allow-insecure-connections]

dotnet nuget add source -h|--help

Description

The dotnet nuget add source command adds a new package source to your NuGet configuration files.

[!WARNING] When adding multiple package sources, be careful not to introduce a dependency confusion vulnerability.

Arguments

Options

Examples

See Also

Info

2024-10-02 .NET Documentation