Add Project Templates

Navigate to Available templates for dotnet new or other template provider.

Find the Package name you want to install, you can see the a quick install command next to it.
For Example, For AWS Lambda .NET Core Templates is dotnet new -i "Amazon.Lambda.Templates::*"

Open the Cli of your OS, execute the quick install command.

Remove Project Templates

  • Navigate to C:\Users{Yout user name}.templateengine\dotnetcli\v2.1.300\packages

There may be a different versions cli in your config.

  • Find the Package name of the Project template you want to delete. For Example:amazon.lambda.templates.3.0.0.nupkg

  • Open the Cli and execute the Following Command

dotnet new -u C:\Users\{Your UserName}\.templateengi
ne\dotnetcli\v2.1.300\packages\amazon.lambda.templates.3.0.0.nupkg
1
2