dotnet new is a .NET CLI command for creating applications from installed project templates. Its list form, dotnet new list, displays the templates currently available for use. section 2.9 section 4.1.1
Use the command in these production-oriented workflows:
- Run dotnet new list after installing or updating a custom template to confirm that the template is available. section 4.1.1
- Create a project by selecting a template and supplying its options, such as dotnet new console --name HelloDotNet. section 2.1
- Use dotnet --help for available CLI commands and dotnet new --help for command-specific guidance. section 2.1
- Use built-in templates for console applications, web APIs, and test projects. section 2.1 section 12.1
Checking and using a custom template
Build and install a template with dotnet build and dotnet new install ., then run dotnet new list to check that it appears. Create projects from it in another folder with dotnet new. section 4.1.1
See a focused project-creation command using the console template and a project name. section 2.1


