Free up space on your Mac
Get space back without breaking the system.
- System Settings → General → Storage: read the recommendations.
- Find the big folders in your user account:
du -sh ~/Library/* 2>/dev/null | sort -h | tail -15
- Clean the Homebrew cache:
brew cleanup --prune=all
- List local Time Machine snapshots:
tmutil listlocalsnapshots /
- Also clear old downloads, iPhone backups (Finder → Manage backups) and the Xcode cache if you develop.