Skip to content

Commit 312c367

Browse files
authored
docs: Use 'dotnet new install' instead of deprecated --install switch (#987)
This is to avoid dotnet warning: Warning: use of 'dotnet new --install' is deprecated. Use 'dotnet new install' instead.
1 parent b3d7f70 commit 312c367

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/docs/operator/getting-started.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ For local development, we recommend using `kind` or Docker Desktop as it provide
2424
KubeOps provides templates to help you get started quickly. Install them using the .NET CLI:
2525

2626
```bash
27-
dotnet new --install KubeOps.Templates::*
27+
dotnet new install KubeOps.Templates
2828
```
2929

3030
KubeOps offers several template types:

src/KubeOps.Templates/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ To install the template package, use the `dotnet` cli
1515
(or you may use the exact version as provided in the link above):
1616

1717
```bash
18-
dotnet new --install KubeOps.Templates::*
18+
dotnet new install KubeOps.Templates
1919
```
2020

2121
As soon as the templates are installed, you may use them with the short names below:

0 commit comments

Comments
 (0)