All Topics
All Topics
Technology
Technology
Design
Design
Programming
Programming
Science
Science
News
News
Gaming
Gaming
Entertainment
Entertainment
Business
Business
Finance
Finance
Sports
Sports
Health
Health
Food
Food
Travel
Travel
Art
Art
Music
Music
Books
Books
Education
Education
Politics
Politics
Personal
Personal
No algorithm. No AI slop. No ads. Just RSS. Pro-human. Indie writers. Real journalism. Open web. Chronological. Hand toasted.

macOS Command-Line Tool for Freeing Disk Space by Cleaning Caches, Logs, and Junk Files

By

todsacerdoti

5mo agoĀ· 6 min readenCode

Summary

mac-cleaner-cli is a free, open-source command-line tool for macOS that helps users free up disk space by removing unnecessary files. It scans for and cleans caches, logs, Homebrew leftovers, Xcode DerivedData, and other junk files directly from the terminal. The tool is privacy-focused with no telemetry, subscription fees, or bloatware, and offers interactive selection of what to clean. A Windows version is also available.

Key quotes

Ā· 5 pulled
Free up disk space on macOS with a single command. Removes caches, logs, Homebrew leftovers, Xcode DerivedData, and junk files — all from your terminal.
No subscription. No telemetry. No bloatware.
šŸ” Scan your Mac for cleanable files šŸ“‹ Show you what was found with sizes āœ… Let you select exactly what to clean šŸ—‘ļø Clean only what you chose
šŸš€ One Command Just run
🪟 Also available for Windows: windows-cleaner-cli
Snippet from the RSS feed
macOS CLI to free disk space — clears caches, logs, Homebrew and Xcode junk - guhcostan/mac-cleaner-cli

You might also wanna read