Skip to content

Latest commit

 

History

History
48 lines (29 loc) · 1.02 KB

File metadata and controls

48 lines (29 loc) · 1.02 KB
title dotnet nuget disable source command
description The dotnet nuget disable source command disables an existing source in your NuGet configuration files.
ms.date 10/28/2025

dotnet nuget disable source

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

Name

dotnet nuget disable source - Disable a NuGet source.

Synopsis

dotnet nuget disable source <NAME> [--configfile <FILE>]

dotnet nuget disable source -h|--help

Description

The dotnet nuget disable source command disables an existing source in your NuGet configuration files.

Arguments

  • NAME

    Name of the source.

Options

[!INCLUDE configfile]

Examples

  • Disable a source with name of mySource:

    dotnet nuget disable source mySource
    

See also