First, you need to create a folder where the solution will be located.
Template installation: dotnet new install Template_path
Creating a project, using a template: dotnet new shortNameTemplate -n ProjectName
Deleting a template: dotnet new uninstall E:\MYProjectC#\Templates\ProjectTemplate
View a list of available templates: dotnet new --list
Example:
