dotnet-nuget-list-source(1)

πŸ“¦
version 11.0.0~rc3 Β· 6 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-nuget-list-source β€” the vibe check for your NuGet sources ✨

okay bestie, quick heads up before we get into it: this page lives in the .NET Documentation manual, and it's your girl dotnet-nuget-list-source(1). Also, this article applies to: βœ”οΈ .NET 6 SDK and later versions. no cap, if you're on something older, this isn't the page for you πŸ’…


πŸ’– NAME πŸ’–

dotnet-nuget-list-source β€” lists all configured NuGet sources. that's it. that's the whole job. she shows you where your packages are coming from πŸŽ€


🌸 SYNOPSIS 🌸

dotnet nuget list source [--format [Detailed|Short]] [--configfile <FILE>]

dotnet nuget list source -h|--help

πŸ¦‹ DESCRIPTION πŸ¦‹

the dotnet nuget list source command lists all existing sources from your NuGet configuration files. like, every single one that's configured. it's giving "let me see the receipts" πŸ”βœ¨


πŸ‘‘ OPTIONS πŸ‘‘

  • --configfile <FILE> β€” the NuGet configuration file (nuget.config) to use. if you specify it, only the settings from this file get used, periodt. if you don't specify it, then the whole hierarchy of configuration files starting from the current directory gets used instead. want the full tea on that? see Common NuGet Configurations 🌈
  • --format [Detailed|Short] β€” the format of the list command output. your choices are Detailed (which is the default, so if you say nothing you get this one) and Short. pick your fighter πŸ’€

πŸ“ EXAMPLES πŸ“

  • list the configured sources from the current directory:
dotnet nuget list source

🧚 SEE ALSO 🧚

  • Package source sections in NuGet.config files
  • sources command (nuget.exe)

lowkey the most underrated command fr fr β€” one run and you know exactly what your NuGet is pulling from 🫢

made with love by the .NET Documentation girlies, dated 2025-10-30, and that's the dotnet-nuget-list-source(1) manual page β€” slay, you're welcome, mwah πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from