Appendix D. NuGet cache locations

 

There are two caches used by NuGet. The first cache holds the nupkg files downloaded from the feed. You’ll find those nupkg files here:

  • Mac and Linux: ~/.local/share/NuGet/Cache
  • Windows: %LocalAppData%\NuGet\Cache

The second cache holds the files extracted from the .nupkg files. This is the cache NuGet will use during build time. These are the folders:

  • Mac and Linux: ~/.nuget/packages
  • Windows: %UserProfile%\.nuget\packages