dotnet-new-details(1)

πŸ“¦
version 11.0.0~rc3 Β· 4 versions
, in alpine 3.24, centos-stream 10, centos-stream 9, fedora 43, fedora 44, nixpkgs unstable, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– dotnet-new-details(1) πŸ’–

the .NET docs manual page for dotnet new details β€” bestie, you're gonna want a snack for this one πŸ“

This article applies to: βœ”οΈ .NET 8


✨ NAME ✨

dotnet new details β€” shows you the metadata of a template package. that's it, that's the job πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

dotnet new details [<PACKAGE_NAME>] [--interactive] [--add-source|--nuget-source <SOURCE>]
    [--force] [-d|--diagnostics] [-h|--help]
ok so real talk: --force shows up in that synopsis up there but the original page never gives it its own bullet, so I'm not gonna make up a description for it. no cap, no inventing. πŸ™ˆ

πŸ¦‹ DESCRIPTION πŸ¦‹

so the dotnet new details command literally just displays the metadata of the template package that matches the package name you handed it. you give it a name, it gives you the tea. β˜•βœ¨

by default, the command goes looking for the latest available version. and here's the part where it gets a lil fancy: if the package is installed locally, or if it's found on the official NuGet website, it also shows you the templates that the package contains. if not? it only shows basic metadata. that's it. lowkey humbling. 😭


🌸 ARGUMENTS 🌸

  • PACKAGE_NAME β€” the package identifier you want the details for. that's the one you're spilling the tea about πŸ‘‘

πŸ‘‘ OPTIONS πŸ‘‘

  • --add-source | --nuget-source <SOURCE> β€” by default, dotnet new details walks the hierarchy of NuGet configuration files starting from the current directory to figure out which NuGet source the package can be installed from. if you specify --nuget-source, that source gets added to the list of sources to be checked. wanna see what's already configured for your current directory? run dotnet nuget list source. for more info, see Common NuGet Configurations. 🫢
  • --interactive β€” lets the command stop and wait for user input or action. like, say, finishing authentication. it's giving "hold on, bestie needs a sec" πŸ™‹β€β™€οΈ
  • -d, --diagnostics β€” enables diagnostic output. turn it on when you need the receipts πŸ”
  • -h, --help β€” displays help for the search command. yep, that's the wording, and honestly iconic of it to say "search" here πŸŽ€

🌈 EXAMPLES 🌈

  1. display package data from the latest version of NUnit templates:
dotnet new details NUnit3.DotNetNew.Template
  1. 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

πŸ’œ SEE ALSO πŸ’œ

  • dotnet new command
  • dotnet new uninstall command
  • dotnet new list command
  • dotnet new search command
  • Custom templates for dotnet new

and that's the whole vibe check, bestie πŸ’– this was .NET Documentation's dotnet-new-details(1), dated 2025-06-13. go forth and inspect your template packages, you main character 🧚✨

πŸ“¦ where this page comes from