

If no version is specified, the package is updated to the latest stable version. If a version of the template package was already installed when you run this command, the template package will be updated to the specified version. For more information, see the Examples section. By default, dotnet new passes * for the version, which represents the latest stable package version.

If you want to install a specific version or prerelease version of a template package, specify the version in the format.

The dotnet new install command installs a template package from the PATH or NUGET_ID provided. NET Core 3.1 SDK and later versions Nameĭotnet new install - installs a template package.
