NuGet packages
Last updated 1 November 2026
What it is, where it lives on your Mac, and whether it’s safe to delete.
Safe to delete
Yes. dotnet restore downloads packages again (dotnet nuget locals all --clear empties it too).
Where it is
~/.nuget/packages
Is it safe to delete?
Yes. dotnet restore downloads packages again (dotnet nuget locals all --clear empties it too).
How big is it?
In Terminal, this shows its size without changing anything:
du -sh "$HOME/.nuget/packages"How to remove it
- In Finder, choose Go > Go to Folder (Shift-Command-G), paste the path above and press Return.
- Move its contents to the Trash.
- Empty the Trash to get the space back. Until then, you can still put things back.
What DiskCity does with it
DiskCity labels it as rebuildable and removes it when you approve, or on its own if you turn on Autopilot.
