SlimDisk The Mac cleaner that developers actually trust. One-click cleanup for app caches, developer tools, Docker, and more — built with Rust and Tauri, not Electron. Download for macOS → Why SlimDisk? Most Mac cleaners are either too simple (just empty the trash) or too bloated (Electron apps heavier than what they clean). SlimDisk is different: Tiny: 12 MB DMG. CleanMyMac is 200 MB+. Fast: Rust backend,…
Most Mac cleaners are either too simple (just empty the trash) or too bloated (Electron apps heavier than what they clean). SlimDisk is different:
Tiny: ~12 MB DMG. CleanMyMac is 200 MB+.
Fast: Rust backend, sub-second scans.
Honest: Every item shows exactly what will be deleted and why. No dark patterns.
Developer-aware: Understands npm, pnpm, Docker, Xcode, Cargo, Homebrew — not just ~/Library/Caches.
Safe: Triple-layer protection. Won’t touch files that tools are actively using.
Private: Zero telemetry. No account required. All data stays on your Mac.
What it cleans
Category
Items
Safe to clean?
System
App caches, logs, crash reports, Trash
✅ Always
npm / pnpm / Yarn
Download caches, store
✅ Always
Docker
Build cache, dangling images, stopped containers
✅ / ⚠️
Homebrew
Downloaded bottles, old versions
✅ Always
Xcode
DerivedData, simulator caches, device support
✅ / ⚠️
Cargo
Registry download cache
✅ Always
Pip / Go
Build and download caches
✅ Always
Items marked ⚠️ are shown but not selected by default.
Screenshots
(coming soon — PRs welcome)
Getting Started
Download
Grab the latest .dmg from Releases and drag SlimDisk to your Applications folder.
Requirements: macOS 13 Ventura or later, Apple Silicon or Intel.
Use the CLI (slimdisk-cli)
The desktop app ships with a standalone CLI binary at /Applications/SlimDisk.app/Contents/MacOS/slimdisk-cli. Symlink it once for terminal access from anywhere:
slimdisk-cli --scan # Scan all caches, no cleanup
slimdisk-cli --cache # Clean caches (with confirmation)
slimdisk-cli --history # Show operation history
slimdisk-cli --help # Full command list
The CLI shares the same Rust core as the desktop app — same scanners, same safety checks, same SQLite history database.
Build from source
Prerequisites
# Rust
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
# Bun (package manager)
curl -fsSL https://bun.sh/install | bash
# Xcode Command Line Tools
xcode-select --install
Run in development
git clone https://github.com/edwin-hao-ai/SlimDisk.git
cd slimdisk
bun install
bun run tauri dev
Build a release
# Apple Silicon
bun run bundle:arm
# Intel
bun run bundle:intel
# Universal binary (both architectures)
bun run bundle:universal
The .app and .dmg will be in src-tauri/target/<arch>/release/bundle/.
Tech Stack
Layer
Choice
Why
Desktop framework
Tauri v2
Native WebView, no Chromium bundled
Frontend
SolidJS + TypeScript
3–5× smaller bundle than React, no Virtual DOM
Styling
Tailwind CSS v4
Utility-first, zero runtime
Backend
Rust
Memory-safe, fast, great macOS APIs
System info
sysinfo 0.33
Cross-platform process/memory/disk
Process signals
nix (POSIX)
Native kill(), no shell subprocess
Storage
rusqlite 0.32
Embedded SQLite, no server
Safety Model
SlimDisk uses a three-layer safety system before deleting anything:
Tool busy check — if npm, cargo, xcodebuild, etc. are running, their caches are hidden from the scan entirely.
Path allowlist — only a hardcoded set of safe paths can ever be deleted. Attempts to delete /, $HOME, ~/Documents, or anything outside the allowlist are rejected.
Pre-execution re-check — right before deletion, the tool-busy check runs again to guard against race conditions.
All cleanup operations are logged to a local SQLite database. You can review every action in the History tab.
git clone https://github.com/edwin-hao-ai/SlimDisk.git
cd slimdisk
bun install
bun run tauri dev # 开发模式
bun run bundle:arm # 打包 Apple Silicon
bun run bundle:intel # 打包 Intel
评论