1dotnet nuget delete command(1) .NET Core dotnet nuget delete command(1)
2
3
4
7 dotnet nuget delete - Deletes or unlists a package from the server.
8
10 .NET Core 2.x
11 dotnet nuget delete [<PACKAGE_NAME> <PACKAGE_VERSION>] [--force-english-output] [--interactive] [-k|--api-key] [--no-service-endpoint]
12 [--non-interactive] [-s|--source]
13 dotnet nuget delete [-h|--help]
14
15 .NET Core 1.x
16 dotnet nuget delete [<PACKAGE_NAME> <PACKAGE_VERSION>] [--force-english-output] [-k|--api-key] [--non-interactive]
17 [-s|--source]
18 dotnet nuget delete [-h|--help]
19
20 * * * * *
21
23 The dotnet nuget delete command deletes or unlists a package from the
24 server. For nuget.org, the action is to unlist the package.
25
26 Arguments
27 · PACKAGE_NAME
28
29 Name/ID of the package to delete.
30
31 · PACKAGE_VERSION
32
33 Version of the package to delete.
34
36 .NET Core 2.x
37 · --force-english-output
38
39 Forces the application to run using an invariant, English-based cul‐
40 ture.
41
42 · -h|--help
43
44 Prints out a short help for the command.
45
46 · --interactive
47
48 Allows the command to block and requires manual action for operations
49 like authentication. Option available since .NET Core 2.2 SDK.
50
51 · -k|--api-key <API_KEY>
52
53 The API key for the server.
54
55 · --no-service-endpoint
56
57 Doesn’t append “api/v2/package” to the source URL. Option available
58 since .NET Core 2.1 SDK.
59
60 · --non-interactive
61
62 Doesn’t prompt for user input or confirmations.
63
64 · -s|--source <SOURCE>
65
66 Specifies the server URL. Supported URLs for nuget.org include
67 https://www.nuget.org, https://www.nuget.org/api/v3, and
68 https://www.nuget.org/api/v2/package. For private feeds, replace the
69 host name (for example, %hostname%/api/v3).
70
71 .NET Core 1.x
72 · --force-english-output
73
74 Forces the application to run using an invariant, English-based cul‐
75 ture.
76
77 · -h|--help
78
79 Prints out a short help for the command.
80
81 · -k|--api-key <API_KEY>
82
83 The API key for the server.
84
85 · --non-interactive
86
87 Doesn’t prompt for user input or confirmations.
88
89 · -s|--source <SOURCE>
90
91 Specifies the server URL. Supported URLs for nuget.org include
92 https://www.nuget.org, https://www.nuget.org/api/v3, and
93 https://www.nuget.org/api/v2/package. For private feeds, replace the
94 host name (for example, %hostname%/api/v3).
95
96 * * * * *
97
99 · Deletes version 1.0 of package Microsoft.AspNetCore.Mvc:
100
101 dotnet nuget delete Microsoft.AspNetCore.Mvc 1.0
102
103 · Deletes version 1.0 of package Microsoft.AspNetCore.Mvc, not prompt‐
104 ing user for credentials or other input:
105
106 dotnet nuget delete Microsoft.AspNetCore.Mvc 1.0 --non-interactive
107
109 karann-msft.
110
111
112
113 dotnet nuget delete command(1)