Forrest logo
back to the dotnet tool

dotnet:tldr:41f08

dotnet: Initialize a new .NET project.
$ dotnet new ${template_short_name}
try on your machine

The command "dotnet new" is part of the .NET Core Command-Line Interface (CLI) and is used to create a new project from a specified template.

In this specific command, the template name is represented by "${template_short_name}". The placeholder "${template_short_name}" is likely to be replaced with the actual short name of the desired template. For example, if you want to create a new ASP.NET Core project, the command could be "dotnet new web".

The "dotnet new" command initializes a new project based on the specified template. It creates the necessary files and directory structure for the selected template, setting up a basic project that you can customize and build upon.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the dotnet tool