47

I want to download some .nupkg files using my browser

In nuget.org, there are no links to the .nupkg file

MartyIX
  • 27,828
  • 29
  • 136
  • 207
Orlando Osorio
  • 3,116
  • 7
  • 29
  • 52

2 Answers2

56

The URLs are typically in the format:

http://nuget.org/api/v2/package/PACKAGE_ID/VERSION

For example, for WebActivator:

http://nuget.org/api/v2/package/Microsoft.Web.Infrastructure/1.0.0.0

If you just want the latest version of the package, leave out the version number:

http://nuget.org/api/v2/package/Microsoft.Web.Infrastructure/
Haacked
  • 58,045
  • 14
  • 90
  • 114
  • 5
    I wrote a Chrome extension that adds this link to the package page https://chrome.google.com/webstore/detail/nutake/ibhhbcaipjilldjkhhblhgdedjgoecap?hl=en – Colonel Panic Jun 30 '13 at 18:08
  • 1
    NuGet.org has been having issues all week...Thanks this saved me lots of time and frustration! They provide a direct download link on the page. – MoMo Aug 15 '14 at 18:49
  • above command downloads a zip with NUSPEC file, there is no NUPKG file in it – Muds Jun 03 '15 at 12:46
1

You can link directly to the package file version using the below pattern.

https://globalcdn.nuget.org/packages/{package name}

For example:

https://globalcdn.nuget.org/packages/mono.cecil.0.11.5.nupkg
Josh DeLong
  • 475
  • 6
  • 24