dotnet-nuget-delete(1) | .NET Documentation | dotnet-nuget-delete(1) |
This article applies to: ✔️ .NET Core 3.1 SDK and later versions
dotnet-nuget-delete - Deletes or unlists a package from the server.
dotnet nuget delete [<PACKAGE_NAME> <PACKAGE_VERSION>] [--force-english-output] [--interactive] [-k|--api-key <API_KEY>] [--no-service-endpoint] [--non-interactive] [-s|--source <SOURCE>] dotnet nuget delete -h|--help
The dotnet nuget delete command deletes or unlists a package from the server. For nuget.org (https://www.nuget.org/), the action is to unlist the package.
Name/ID of the package to delete.
Version of the package to delete.
Forces the application to run using an invariant, English-based culture.
Prints out a description of how to use the command.
Allows the command to stop and wait for user input or action. For example, to complete authentication. Available since .NET Core 3.0 SDK.
The API key for the server.
By default, the command appends “/api/v2/package” to the specified URL. This option is for custom feeds that must use the exact source URL as specified with the --source option. For more information, see the --source option later in this article.
Doesn’t prompt for user input or confirmations.
Specifies the server URL. The URL specified by using this option can be either V2 (https://www.nuget.org/api/v2/) or V3 (https://api.nuget.org/v3/index.json). For private feeds, replace the host name (for example, %hostname%/api/v3/index.json).
dotnet nuget delete Microsoft.AspNetCore.Mvc 1.0
dotnet nuget delete Microsoft.AspNetCore.Mvc 1.0 --non-interactive
2023-10-25 |