Skip to content

Import packages


This page is a work in progress!


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

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

Importing package downloads from

You can import package downloads from

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

Importing all packages

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