1dotnet remove package command(1) .NET Core dotnet remove package command(1)
2
3
4
7 dotnet remove package - Removes package reference from a project file.
8
10 dotnet remove [<PROJECT>] package <PACKAGE_NAME> [-h|--help]
11
13 The dotnet remove package command provides a convenient option to re‐
14 move a NuGet package reference from a project.
15
16 Arguments
17 PROJECT
18
19 Specifies the project file. If not specified, the command searches the
20 current directory for one.
21
22 PACKAGE_NAME
23
24 The package reference to remove.
25
27 -h|--help
28
29 Prints out a short help for the command.
30
32 Removes Newtonsoft.Json NuGet package from a project in the current di‐
33 rectory:
34
35 dotnet remove package Newtonsoft.Json
36
37
38
39 dotnet remove package command(1)