1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-06-06 13:26:05 +02:00
tldr/pages/common/dotnet-tool.md

33 lines
822 B
Markdown
Raw Normal View History

2022-04-02 19:16:27 -03:00
# dotnet tool
> Manage .NET tools and search published tools in NuGet.
> More information: <https://learn.microsoft.com/dotnet/core/tools/global-tools>.
2022-04-02 19:16:27 -03:00
- Install a global tool (don't use `--global` for local tools):
`dotnet tool install {{[-g|--global]}} {{dotnetsay}}`
2022-04-02 19:16:27 -03:00
- 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 {{[-g|--global]}} {{tool_name}}`
2022-04-02 19:16:27 -03:00
- Uninstall a global tool (don't use `--global` for local tools):
`dotnet tool uninstall {{[-g|--global]}} {{tool_name}}`
2022-04-02 19:16:27 -03:00
- List installed global tools (don't use `--global` for local tools):
`dotnet tool list {{[-g|--global]}}`
2022-04-02 19:16:27 -03:00
- Search tools in NuGet:
`dotnet tool search {{search_term}}`
- Display help:
`dotnet tool {{[-h|--help]}}`