Events
Mar 17, 9 PM - Mar 21, 10 AM
Join the meetup series to build scalable AI solutions based on real-world use cases with fellow developers and experts.
Register nowThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
This article applies to: ✔️ .NET Core 3.1 SDK and later versions
dotnet tool uninstall
- Uninstalls the specified .NET tool from your machine.
dotnet tool uninstall <PACKAGE_NAME> -g|--global
dotnet tool uninstall <PACKAGE_NAME> --tool-path <PATH> [--tool-manifest <PATH>]
dotnet tool uninstall <PACKAGE_NAME>
dotnet tool uninstall -h|--help
The dotnet tool uninstall
command provides a way for you to uninstall .NET tools from your machine. To use the command, you specify one of the following options:
--global
option.--tool-path
option.--global
and --tool-path
options.PACKAGE_NAME
Name/ID of the NuGet package that contains the .NET tool to uninstall. You can find the package name using the dotnet tool list command.
-g|--global
Specifies that the tool to be removed is from a user-wide installation. Can't be combined with the --tool-path
option. Omitting both --global
and --tool-path
specifies that the tool to be removed is a local tool.
-?|-h|--help
Prints out a description of how to use the command.
--tool-path <PATH>
Specifies the location where to uninstall the tool. PATH can be absolute or relative. Can't be combined with the --global
option. Omitting both --global
and --tool-path
specifies that the tool to be removed is a local tool.
--tool-manifest <PATH>
Specifies the manifest file that the tool is to be removed from. PATH can be absolute or relative. Can't be combined with the --global
option.
dotnet tool uninstall -g dotnetsay
Uninstalls the dotnetsay global tool.
dotnet tool uninstall dotnetsay --tool-path c:\global-tools
Uninstalls the dotnetsay global tool from a specific Windows directory.
dotnet tool uninstall dotnetsay --tool-path ~/bin
Uninstalls the dotnetsay global tool from a specific Linux/macOS directory.
dotnet tool uninstall dotnetsay
Uninstalls the dotnetsay local tool from the current directory.
.NET feedback
.NET is an open source project. Select a link to provide feedback:
Events
Mar 17, 9 PM - Mar 21, 10 AM
Join the meetup series to build scalable AI solutions based on real-world use cases with fellow developers and experts.
Register now