Skip to main content

Import nuget.org packages

warning

This page is a work in progress!

Mirroring

You can configure BaGetter to mirror nuget.org. For example, say you install BaGetter, enable mirroring, and try to install the package Newtonsoft.Json. BaGetter doesn't have this package yet, so it will automatically index this package from nuget.org. This is also known as "read-through caching".

For more information, please see Enable read-through caching.

Importing package downloads from nuget.org

You can import package downloads from nuget.org:

  1. Navigate to .\BaGetter\src\BaGetter
  2. Run:
dotnet run -- import-downloads

Importing all nuget.org packages

  • TODO Check-in code
  • Explain scaling
  • Rebuild indexes at end
  • Importing downloads from nuget.org