What’s in System Data on a Mac
System Data is where macOS puts files that don’t fit another category: caches, logs, Time Machine snapshots, virtual machine disks and the hidden folders developer tools fill. On a developer’s Mac, those last two are often the biggest.
1. Find the biggest folders
Lists the 15 largest folders in your Library and your hidden home folders, where developer tools keep most of their data. Give Terminal Full Disk Access to see everything.
du -sh ~/Library/* ~/.[!.]* 2>/dev/null | sort -h | tail -15
2. Check the usual developer suspects
Xcode data, iOS simulator runtimes and Docker are often the biggest items on a developer’s Mac.
du -sh ~/Library/Developer xcrun simctl runtime list docker system df
3. Check Time Machine snapshots
macOS deletes these local snapshots on its own when it needs the space, so they rarely need your attention.
tmutil listlocalsnapshots /
4. Remove things with the tool that made them
Deleting folders in ~/Library by hand can break apps. Use each tool’s own command instead: the npm cache, Docker images, and simulators for runtimes you no longer have:
xcrun simctl delete unavailable
Is it safe?
Caches rebuild themselves, so clearing them only costs time. Leave snapshots, swap files and the Spotlight index to macOS, and never delete anything in /System or /private/var.