Add dotnet tool commands

This commit is contained in:
James Skemp 2023-07-28 18:58:05 -05:00
parent f9248834bb
commit 76450796c7
1 changed files with 9 additions and 2 deletions

View File

@ -27,8 +27,15 @@ The `ASPNETCORE_ENVIRONMENT` value overrides `DOTNET_ENVIRONMENT`.
[CLI reference](https://docs.microsoft.com/en-us/ef/core/cli/dotnet).
```powershell
# Install
# Install a tool globally.
dotnet tool install --global dotnet-ef
# Update
# Update a tool to the latest version.
dotnet tool update --global dotnet-ef
# List installed tools.
dotnet tool list -g
# Search for tools matching `searchTerm`.
dotnet tool search searchTerm
```