1dotnet nuget delete command(1)     .NET Core    dotnet nuget delete command(1)
2
3
4

dotnet nuget delete

6       This topic applies to: ✓ .NET Core 1.x SDK and later versions
7

NAME

9       dotnet nuget delete - Deletes or unlists a package from the server.
10

SYNOPSIS

12              dotnet nuget delete [<PACKAGE_NAME> <PACKAGE_VERSION>] [--force-english-output] [--interactive] [-k|--api-key] [--no-service-endpoint]
13                  [--non-interactive] [-s|--source]
14              dotnet nuget delete [-h|--help]
15

DESCRIPTION

17       The  dotnet  nuget delete command deletes or unlists a package from the
18       server.  For nuget.org, the action is to unlist the package.
19
20   Arguments
21       · PACKAGE_NAME
22
23         Name/ID of the package to delete.
24
25       · PACKAGE_VERSION
26
27         Version of the package to delete.
28

OPTIONS

30       · --force-english-output
31
32         Forces the application to run using an invariant, English-based  cul‐
33         ture.
34
35       · -h|--help
36
37         Prints out a short help for the command.
38
39       · --interactive
40
41         Allows the command to block and requires manual action for operations
42         like authentication.  Option available since .NET Core 2.2 SDK.
43
44       · -k|--api-key <API_KEY>
45
46         The API key for the server.
47
48       · --no-service-endpoint
49
50         Doesn’t append “api/v2/package” to the source URL.  Option  available
51         since .NET Core 2.1 SDK.
52
53       · --non-interactive
54
55         Doesn’t prompt for user input or confirmations.
56
57       · -s|--source <SOURCE>
58
59         Specifies  the  server  URL.   Supported  URLs  for nuget.org include
60         https://www.nuget.org,       https://www.nuget.org/api/v3,        and
61         https://www.nuget.org/api/v2/package.  For private feeds, replace the
62         host name (for example, %hostname%/api/v3).
63

EXAMPLES

65       · Deletes version 1.0 of package Microsoft.AspNetCore.Mvc:
66
67                dotnet nuget delete Microsoft.AspNetCore.Mvc 1.0
68
69       · Deletes version 1.0 of package Microsoft.AspNetCore.Mvc, not  prompt‐
70         ing user for credentials or other input:
71
72                dotnet nuget delete Microsoft.AspNetCore.Mvc 1.0 --non-interactive
73

AUTHORS

75       karann-msft.
76
77
78
79                                                dotnet nuget delete command(1)
Impressum