Forum Discussion

Leroy95's avatar
Leroy95
Brass Contributor
May 20, 2026

How to clear hard drive space on macbook air when storage is full?

I've been using my MacBook Air for a couple of years now and lately I get constant warnings that my storage is almost full. It's gotten to the point where my Mac is running noticeably slower, apps are freezing, and I can barely download or save anything new. I know I need to free up some space but I'm not sure where to start.

Already had a look through my files but I can't figure out what's taking up so much space. The problem is that I don't fully understand what it contains or whether it's safe to delete. I'm also not sure if there are any built-in macOS tools that can help me identify and clean up the biggest culprits.

Could anyone guide me through the safest and most effective ways to clear hard drive space on mac? I'd love to know which files or folders are safe to delete, whether I should move things to an external drive or iCloud, and if there are any trusted free apps that can help.

Beginner-friendly advice would be greatly appreciated. Thank you!

2 Replies

  • Loganer's avatar
    Loganer
    Copper Contributor

    The best approach is to use macOS's built-in storage management tools that are already on your Mac.

  • Isabellais's avatar
    Isabellais
    Bronze Contributor

    How to clear Hard drive space on Mac? space- cli is an open-source, privacy-focused command-line tool that analyzes disk space, finds large files, and even lets you delete applications and their caches with a single command.

    The most unique feature of space- cli is its ability to remove applications and their leftover files in one go — something the standard Trash cannot do.

    After running the app analysis command (-- apps), the tool presents a numbered list of your applications and their total footprint, including the app itself, its caches, logs, and support files.

    To clear hard drive space on mac by removing an app entirely, you simply type the number next to the application and press enter. The tool will ask for confirmation, showing you exactly how much space you will recover. It then deletes the application from /Applications and its corresponding folders in ~/Library/Caches and ~/Application Support.

    How to clear hard drive space on Mac:

    1. Install the Tool: Open Terminal and run pip3 install myspace- cli.

    2. Analyze Your Home Folder: Run python3 space_cli .py --home to get an interactive overview.

    3. Find Large Files: Run python3 space_ cli .py --big-files to identify old .dmg files or videos.

    4. Review Unused Apps: Run python3 space_ cli .py --apps -n 20 to see which applications are taking up the most space.

    5. Delete Confidently: Type the number of an app you no longer need, confirm the action, and the tool will erase the app and its hidden caches instantly.

    By using space- cli, you rely on open-source code to manually identify and remove data, ensuring a thorough cleanup without the risk of paying for unnecessary "optimization" tools.