dotnet-tool-uninstall(1)

πŸ“¦
version 11.0.0~rc3 Β· 6 versions
, in alpine 3.24, centos-stream 10, centos-stream 9, fedora 43, fedora 44, nixpkgs unstable, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’… dotnet-tool-uninstall β€” the manual page, bestie edition

okay so you're reading the manual for dotnet-tool-uninstall(1) from the .NET Documentation, and honestly? you came to the right place. this is where tools go to leave.

✨ This article applies to: βœ”οΈ .NET 6 SDK and later versions

🌸 NAME 🌸

dotnet-tool-uninstall β€” uninstalls the specified .NET tool from your machine. that's it. that's the whole job. bye bestie πŸ‘‹


✨ SYNOPSIS ✨

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

πŸ¦‹ DESCRIPTION πŸ¦‹

The dotnet tool uninstall command is literally your way to uninstall .NET tools from your machine. that's the vibe. 🧹

to use it, you pick one of these options, and the choice tells the command where the tool lives:

  • to uninstall a global tool that was installed in the default location, use the --global option.
  • to uninstall a global tool that was installed in a custom location, use the --tool-path option.
  • to uninstall a local tool, just... don't pass --global and don't pass --tool-path. omit both. that's it, that's the move. πŸ’–

πŸŽ€ ARGUMENTS πŸŽ€

  • PACKAGE_NAME β€” the name/ID of the NuGet package that contains the .NET tool you wanna uninstall. you can find the package name using the dotnet tool list command. (yes, go look it up first, i'll wait πŸ’…)

πŸ‘‘ OPTIONS πŸ‘‘

  • -g, --global β€” says that the tool you're removing comes from a user-wide installation. can't be combined with the --tool-path option. if you omit both --global and --tool-path, that means the tool you're removing is a local tool.
  • -?, -h, --help β€” prints out a description of how to use the command. the classic "help me please" flag 🫢
  • --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. and again: omitting both --global and --tool-path means the tool you're removing 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.

🌈 EXAMPLES 🌈

  1. ```text dotnet tool uninstall -g dotnetsay

uninstalls the `dotnetsay` (https://www.nuget.org/packages/dotnetsay/) **global** tool. iconic behavior ✨

2. ```text
dotnet tool uninstall dotnetsay --tool-path c:\global-tools

uninstalls the dotnetsay (https://www.nuget.org/packages/dotnetsay/) global tool from a specific Windows directory. windows girlies, this one's for you πŸͺŸ

  1. ```text dotnet tool uninstall dotnetsay --tool-path ~/bin

uninstalls the `dotnetsay` (https://www.nuget.org/packages/dotnetsay/) **global** tool from a specific Linux/macOS directory. `~/bin` my beloved 🐧🍎

4. ```text
dotnet tool uninstall dotnetsay

uninstalls the dotnetsay (https://www.nuget.org/packages/dotnetsay/) local tool from the current directory. no flags, no notes, just vibes πŸ’œ


πŸ“ SEE ALSO πŸ“

  • .NET tools
  • Tutorial: Install and use a .NET global tool using the .NET CLI
  • Tutorial: Install and use a .NET local tool using the .NET CLI

and that's the page!! 🌟 this was the dotnet-tool-uninstall(1) manual from .NET Documentation, dated 2025-10-30. go forth and uninstall responsibly, bestie β€” mwah πŸ’–πŸŽ€πŸ¦‹ no cap.

πŸ“¦ where this page comes from