2022-04-02 23:16:27 +01:00
|
|
|
# dotnet tool
|
|
|
|
|
|
|
|
> Manage .NET tools and search published tools in NuGet.
|
2022-10-04 16:06:23 +01:00
|
|
|
> More information: <https://learn.microsoft.com/dotnet/core/tools/global-tools>.
|
2022-04-02 23:16:27 +01:00
|
|
|
|
|
|
|
- Install a global tool (don't use `--global` for local tools):
|
|
|
|
|
|
|
|
`dotnet tool install --global {{dotnetsay}}`
|
|
|
|
|
|
|
|
- Install tools defined in the local tool manifest:
|
|
|
|
|
|
|
|
`dotnet tool restore`
|
|
|
|
|
|
|
|
- Update a specific global tool (don't use `--global` for local tools):
|
|
|
|
|
|
|
|
`dotnet tool update --global {{tool_name}}`
|
|
|
|
|
|
|
|
- Uninstall a global tool (don't use `--global` for local tools):
|
|
|
|
|
|
|
|
`dotnet tool uninstall --global {{tool_name}}`
|
|
|
|
|
|
|
|
- List installed global tools (don't use `--global` for local tools):
|
|
|
|
|
|
|
|
`dotnet tool list --global`
|
|
|
|
|
|
|
|
- Search tools in NuGet:
|
|
|
|
|
|
|
|
`dotnet tool search {{search_term}}`
|
|
|
|
|
|
|
|
- Display help:
|
|
|
|
|
|
|
|
`dotnet tool --help`
|