dotnet-nuget-remove-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-remove-source β€” the whole vibe ✨

okay so bestie, welcome to the dotnet-nuget-remove-source page from the .NET Documentation manual. this one's short, sweet, and honestly a lil iconic πŸ’…

quick vibe check: this article applies to βœ”οΈ .NET 6 SDK and later versions. so if you're on something ancient, this is not your moment, sorry 🫢

🌸 NAME 🌸

dotnet-nuget-remove-source β€” Remove a NuGet source.

like literally, it deletes a source. bye bestie πŸ‘‹


πŸŽ€ SYNOPSIS πŸŽ€

dotnet nuget remove source <NAME> [--configfile <FILE>]

dotnet nuget remove source -h|--help

that's it. two lines. she's low maintenance, we love that for her ✨


πŸ¦‹ DESCRIPTION πŸ¦‹

The dotnet nuget remove source command removes an existing source from your NuGet configuration files.

that's the whole thing fr fr. you point at a source by name, she's gone from your config. no drama, no leftover crumbs 🧚


πŸ’– ARGUMENTS πŸ’–

  • NAME β€” Name of the source. like, the actual name you gave it. that's the one you're evicting πŸ‘‘

πŸ‘‘ OPTIONS πŸ‘‘

  • --configfile <FILE> β€” The NuGet configuration file (nuget.config) to use. If you specify it, then only the settings from this file will be used β€” no sneaky extras, just that file. If you don't specify it, then the hierarchy of configuration files from the current directory will be used instead (iykyk, the whole chain). For more information, see Common NuGet Configurations.

🌈 EXAMPLES 🌈

  • Remove a source with name of mySource:
dotnet nuget remove source mySource

ate. no notes. that source is simply not invited to the config party anymore πŸ’€


⭐ SEE ALSO ⭐

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

mwah πŸ’œ and that's the page! this lil cutie came from the .NET Documentation files, dated 2025-10-30, and she lives at dotnet-nuget-remove-source(1) β€” go forth and clean up your sources, bestie, you're doing amazing πŸŽ€βœ¨πŸ«Ά

πŸ“¦ where this page comes from