This article applies to: ✔️ .NET 8
Contents
Arguments
• PACKAGE_NAME
The package identifier to display the details for.
Description
The dotnetnewdetails command displays the metadata of the template package from the package name pro‐
vided. By default, the command searches for the latest available version. If the package is installed
locally or is found on the official NuGet website, it also displays the templates that the package con‐
tains, otherwise it only displays basic metadata.
Dotnet New Details
Thisarticleappliesto: ✔️ .NET 8
Examples
• Display package data from the latest version of NUnit templates:
dotnet new details NUnit3.DotNetNew.Template
• Display package data of the NUnit templates from a custom NuGet source using interactive mode:
dotnet new details NUnit3.DotNetNew.Template --add-source "https://api.my-custom-nuget.com/v3/index.json" --interactive
Name
dotnet-new-details - Displays template package metadata.
Options
• --add-source|--nuget-source<SOURCE>
By default, dotnetnewdetails uses the hierarchy of NuGet configuration files from the current direc‐
tory to determine the NuGet source the package can be installed from. If --nuget-source is specified,
the source is added to the list of sources to be checked. To check the configured sources for the cur‐
rent directory use dotnetnugetlistsource. For more information, see Common NuGet Configurations
• --interactive
Allows the command to stop and wait for user input or action. For example, to complete authentication.
• -d|--diagnostics
Enables diagnostic output.
• -h|--help
Displays help for the search command.
See Also
• dotnet new command
• dotnet new uninstall command
• dotnet new list command
• dotnet new search command
• Custom templates for dotnet new
2024-10-02 dotnet-new-details(1)
Synopsis
dotnet new details [<PACKAGE_NAME>] [--interactive] [--add-source|--nuget-source <SOURCE>]
[--force] [-d|--diagnostics] [-h|--help]
