1dotnet nuget delete command - .NEdTotC.noNerEteTnCCuLogIre(et1)delete command - .NET Core CLI(1)
2
3
4
7 dotnet nuget delete - Deletes or unlists a package from the server.
8
10 .NET Core 2.1
11 dotnet nuget delete [<PACKAGE_NAME> <PACKAGE_VERSION>] [--force-english-output] [-k|--api-key] [--no-service-endpoint]
12 [--non-interactive] [-s|--source]
13 dotnet nuget delete [-h|--help]
14
15 .NET Core 2.0
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 .NET Core 1.x
21 dotnet nuget delete [<PACKAGE_NAME> <PACKAGE_VERSION>] [--force-english-output] [-k|--api-key] [--non-interactive]
22 [-s|--source]
23 dotnet nuget delete [-h|--help]
24
25 * * * * *
26
28 The dotnet nuget delete command deletes or unlists a package from the
29 server. For nuget.org, the action is to unlist the package.
30
31 Arguments
32 PACKAGE_NAME
33
34 Name/ID of the package to delete.
35
36 PACKAGE_VERSION
37
38 Version of the package to delete.
39
41 .NET Core 2.1
42 --force-english-output
43
44 Forces the application to run using an invariant, English-based cul‐
45 ture.
46
47 -h|--help
48
49 Prints out a short help for the command.
50
51 -k|--api-key <API_KEY>
52
53 The API key for the server.
54
55 --no-service-endpoint Doesn't append “api/v2/packages” to the source
56 URL.
57
58 --non-interactive
59
60 Doesn't prompt for user input or confirmations.
61
62 -s|--source <SOURCE>
63
64 Specifies the server URL. Supported URLs for nuget.org include
65 http://www.nuget.org, http://www.nuget.org/api/v3, and
66 http://www.nuget.org/api/v2/package. For private feeds, replace the
67 host name (for example, %hostname%/api/v3).
68
69 .NET Core 2.0
70 --force-english-output
71
72 Forces the application to run using an invariant, English-based cul‐
73 ture.
74
75 -h|--help
76
77 Prints out a short help for the command.
78
79 -k|--api-key <API_KEY>
80
81 The API key for the server.
82
83 --non-interactive
84
85 Doesn't prompt for user input or confirmations.
86
87 -s|--source <SOURCE>
88
89 Specifies the server URL. Supported URLs for nuget.org include
90 http://www.nuget.org, http://www.nuget.org/api/v3, and
91 http://www.nuget.org/api/v2/package. For private feeds, replace the
92 host name (for example, %hostname%/api/v3).
93
94 .NET Core 1.x
95 --force-english-output
96
97 Forces the application to run using an invariant, English-based cul‐
98 ture.
99
100 -h|--help
101
102 Prints out a short help for the command.
103
104 -k|--api-key <API_KEY>
105
106 The API key for the server.
107
108 --non-interactive
109
110 Doesn't prompt for user input or confirmations.
111
112 -s|--source <SOURCE>
113
114 Specifies the server URL. Supported URLs for nuget.org include
115 http://www.nuget.org, http://www.nuget.org/api/v3, and
116 http://www.nuget.org/api/v2/package. For private feeds, replace the
117 host name (for example, %hostname%/api/v3).
118
119 * * * * *
120
122 Deletes version 1.0 of package Microsoft.AspNetCore.Mvc:
123
124 dotnet nuget delete Microsoft.AspNetCore.Mvc 1.0
125
126 Deletes version 1.0 of package Microsoft.AspNetCore.Mvc, not prompting
127 user for credentials or other input:
128
129 dotnet nuget delete Microsoft.AspNetCore.Mvc 1.0 --non-interactive
130
132 karann-msft.
133
134
135
136 dotnet nuget delete command - .NET Core CLI(1)