1dotnet-nuget-delete(1)        .NET Documentation        dotnet-nuget-delete(1)
2
3
4

dotnet nuget delete

6       This article applies to: ✔️ .NET Core 3.1 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]
13                  [--interactive] [-k|--api-key <API_KEY>] [--no-service-endpoint]
14                  [--non-interactive] [-s|--source <SOURCE>]
15
16              dotnet nuget delete -h|--help
17

DESCRIPTION

19       The  dotnet  nuget delete command deletes or unlists a package from the
20       server.  For nuget.org (https://www.nuget.org/), the action is  to  un‐
21       list the package.
22

ARGUMENTS

24PACKAGE_NAME
25
26         Name/ID of the package to delete.
27
28PACKAGE_VERSION
29
30         Version of the package to delete.
31

OPTIONS

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

EXAMPLES

68       • Deletes version 1.0 of package Microsoft.AspNetCore.Mvc:
69
70                dotnet nuget delete Microsoft.AspNetCore.Mvc 1.0
71
72       • Deletes  version 1.0 of package Microsoft.AspNetCore.Mvc, not prompt‐
73         ing user for credentials or other input:
74
75                dotnet nuget delete Microsoft.AspNetCore.Mvc 1.0 --non-interactive
76
77
78
79                                  2022-10-10            dotnet-nuget-delete(1)
Impressum