1dotnet tool uninstall command(1) .NET Core dotnet tool uninstall command(1)
2
3
4
7 dotnet tool uninstall - Uninstalls the specified .NET Core Global Tool
8 from your machine.
9
11 dotnet tool uninstall <PACKAGE_NAME> <-g|--global>
12 dotnet tool uninstall <PACKAGE_NAME> <--tool-path>
13 dotnet tool uninstall <-h|--help>
14
16 The dotnet tool uninstall command provides a way for you to uninstall
17 .NET Core Global Tools from your machine. To use the command, you ei‐
18 ther have to specify that you want to remove a user-wide tool using the
19 --global option or specify a path to where the tool is installed using
20 the --tool-path option.
21
22 Arguments
23 PACKAGE_NAME
24
25 Name/ID of the NuGet package that contains the .NET Core Global Tool to
26 uninstall. You can find the package name using the dotnet tool list
27 command.
28
30 -g|--global
31
32 Specifies that the tool to be removed is from a user-wide installation.
33 Can’t be combined with the --tool-path option. If you don’t specify
34 this option, you must specify the --tool-path option.
35
36 -h|--help
37
38 Prints out a short help for the command.
39
40 --tool-path <PATH>
41
42 Specifies the location where to uninstall the Global Tool. PATH can be
43 absolute or relative. Can’t be combined with the --global option. If
44 you don’t specify this option, you must specify the --global option.
45
47 Uninstalls the dotnetsay Global Tool:
48
49 dotnet tool uninstall -g dotnetsay
50
51 Uninstalls the dotnetsay Global Tool from a specific Windows folder:
52
53 dotnet tool uninstall dotnetsay --tool-path c:\global-tools
54
55 Uninstalls the dotnetsay Global Tool from a specific Linux/macOS fold‐
56 er:
57
58 dotnet tool uninstall dotnetsay --tool-path ~/bin
59
60 See also
61 · .NET Core Global Tools
62
63
64
65 dotnet tool uninstall command(1)