Find out how to recover storage when your Mac warns about low disk space, or when there isn't enough room to save, install, or transfer files.
Step 1: Launch Terminaldf -h / && du -sh ~/Library/Caches 2>/dev/null
Over time, macOS accumulates a significant amount of temporary data — browser caches, system logs, partially downloaded updates, and leftover files from uninstalled applications. These files are not visible in Finder by default, yet they can occupy tens of gigabytes of disk space. When the startup disk reaches critical capacity, your Mac may slow down, refuse to install updates, or display the "Your disk is almost full" warning.
What typically takes up the spaceYes. The command is completely read-only: it only displays information about disk usage and the size of your caches. It does not delete anything, change any settings, download files, or require administrator privileges. Your personal files, photos, documents, and application settings remain completely untouched.
How do I actually free up the space?This command shows you where your storage goes — it does not delete anything by itself. To reclaim space, use the tools macOS already provides: open System Settings → General → Storage to review recommendations and large files, empty the Trash, remove applications you no longer use, and enable Optimize Mac Storage to offload older files to iCloud. Clearing caches manually is rarely necessary — apps rebuild the data they need automatically.
Tips to keep your Mac storage healthy