LinuxCommandLibrary

dotnet-tool

Manage .NET tools and search published tools in NuGet.

TLDR

Install a global tool (don't use --global for local tools)

$ dotnet tool install --global [dotnetsay]
copy


Install tools defined in the local tool manifest
$ dotnet tool restore
copy


Update a specific global tool (don't use --global for local tools)
$ dotnet tool update --global [tool_name]
copy


Uninstall a global tool (don't use --global for local tools)
$ dotnet tool uninstall --global [tool_name]
copy


List installed global tools (don't use --global for local tools)
$ dotnet tool list --global
copy


Search tools in NuGet
$ dotnet tool search [search_term]
copy


Display help
$ dotnet tool --help
copy

Copied to clipboard