mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-01 20:55:24 +02:00
dotnet-tool: add page (#7769)
This commit is contained in:
parent
f3f11bd539
commit
59f031bb0c
1 changed files with 32 additions and 0 deletions
32
pages/common/dotnet-tool.md
Normal file
32
pages/common/dotnet-tool.md
Normal file
|
@ -0,0 +1,32 @@
|
|||
# dotnet tool
|
||||
|
||||
> Manage .NET tools and search published tools in NuGet.
|
||||
> More information: <https://docs.microsoft.com/dotnet/core/tools/global-tools>.
|
||||
|
||||
- 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`
|
Loading…
Add table
Reference in a new issue