@devlead .NET Console Template is my opinionated template alternative to dotnet new console
.
Background and more details in my blog post My preferred .NET console stack.
dotnet new install Devlead.Console.Template
Create a new project with same name as folder
dotnet new devleadconsole
Create a new project with specified name
dotnet new devleadconsole -n MyConsole
Create a new project with specified target framework net8.0
or net9.0
supported (default net9.0
).
dotnet new devleadconsole -n MyConsole --framework net8.0