Skip to content
xavierdecoster edited this page Mar 16, 2013 · 5 revisions
Clone this wiki locally

NuGet Feed Discovery Clients

DiscoverPackageSources cmdlet


The DiscoverPackageSources NuGet package adds a new PowerShell cmdlet to your NuGet Package Manager Console in Visual Studio.

Install-Package DiscoverPackageSources


Simply run the Discover-PackageSources cmdlet and discover the NuGet feeds on the target URL. The example below will discover all public feeds hosted in the MyGet Gallery.

Discover-PackageSources -Url ""

NuGet CommandLine Extension (Preview)

Warning: pre-release! Requires NuGet 2.3+


The following one-liner run from a command prompt will install the extension and make it available anywhere you run nuget.exe on your machine.

@powershell -NoProfile -ExecutionPolicy unrestricted -Command "iex ((new-object net.webclient).DownloadString(''))"


The screenshot below shows you how the new discover command allows you to find a set of NuGet feeds on a given NFD endpoint, and adds them to your NuGet.config file as package sources.