Update cheatsheets

This commit is contained in:
ivuorinen
2024-02-21 11:19:49 +00:00
parent 4e88a1b42f
commit 3d653cc7e6
4803 changed files with 127002 additions and 0 deletions

37
dotnet-tool Normal file
View File

@@ -0,0 +1,37 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# dotnet tool
> Manage .NET tools and search published tools in NuGet.
> More information: <https://learn.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`