Skip to content

Commit 1731c3f

Browse files
authored
fix: update to latest cli install commands (#43407)
1 parent 69bbf3c commit 1731c3f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/core/tools/custom-templates.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ dotnet new install <NUGET_PACKAGE_ID>
243243
Provide a custom NuGet source (for example, `https://api.my-custom-nuget.com/v3/index.json`).
244244

245245
```dotnetcli
246-
dotnet new --install <NUGET_PACKAGE_ID> --nuget-source <SOURCE>
246+
dotnet new install <NUGET_PACKAGE_ID> --nuget-source <SOURCE>
247247
```
248248

249249
### To install a template package from a local nupkg file

docs/core/tools/dotnet-new-install.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ Starting with .NET SDK 6.0.100, installed template packages are available in lat
9494
- Install version 2.0 of the SPA templates for ASP.NET Core from a custom NuGet source using interactive mode:
9595

9696
```dotnetcli
97-
dotnet new --install Microsoft.DotNet.Web.Spa.ProjectTemplates::2.0.0 --add-source "https://api.my-custom-nuget.com/v3/index.json" --interactive
97+
dotnet new install Microsoft.DotNet.Web.Spa.ProjectTemplates::2.0.0 --add-source "https://api.my-custom-nuget.com/v3/index.json" --interactive
9898
```
9999

100100
## See also

0 commit comments

Comments
 (0)