Forum Discussion
How to clear hard drive space on macbook air when storage is full?
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.