A free, open-source macOS disk cleanup utility built with SwiftUI.
No subscriptions. No hidden fees. No black boxes.
A small native macOS product with strong defaults and zero upsell theater.
Most macOS cleanup tools (CleanMyMac, DaisyDisk, etc.) charge $30–$90 or lock you into a subscription — and you never really know what they're doing under the hood. Purger is different:
| Purger | Commercial Alternatives | |
|---|---|---|
| Price | Free & open-source | $30–$90 or subscription |
| Transparency | Full source code, you see exactly what gets deleted | Black box |
| Safety | All deletions go to Trash — nothing is permanently lost | Varies |
| Bloat | Lightweight native SwiftUI app | Often bundled with antivirus, VPN upsells |
| Smart Detection | Only shows what actually exists on your machine | Generic scan lists |
Full disk analysis that shows exactly where your storage is going. Scans developer tools (Xcode, Android SDK, Homebrew, Docker), application support, caches, and more — only reports what actually exists on your machine.
One-click cleanup of system caches, logs, and temporary files. Review every item before cleaning — nothing is deleted without your confirmation, and everything goes to Trash first.
- Large Files — Find the biggest space hogs across your disk
- Duplicates — Detect duplicate files using content hashing (CryptoKit)
- Applications — Browse installed apps, inspect their data footprint, and clean app caches with one click
Analyze what's really using your disk space — developer tools, app data, caches, user content, and more, broken down by category with interactive size bars.
One-click cleanup with full visibility. Expands each category (system cache, app cache, browser cache, logs, temp files, downloads, Xcode data) to show every item and its age before you clean.
Browse all installed apps sorted by data size. Inspect any app to see its bundle size, cache & data footprint, and exact disk locations — then clean with one click.
- macOS 14.0 (Sonoma) or later
If you just want the app, use the latest release. If you want to inspect how it works, build from source.
- Go to the Releases page
- Download
Purger.zip - Unzip and drag
Purger.appto your/Applicationsfolder - Launch from Launchpad, Spotlight (
⌘ + Space→ type "Purger"), or double-click in Finder
Note: On first launch, macOS may show a security warning since the app is not notarized. Go to System Settings → Privacy & Security and click "Open Anyway".
Requires Xcode 16+.
# Clone
git clone https://github.com/Bojun-Vvibe/Purger.git
cd Purger
# Build release
xcodebuild -project Purger.xcodeproj -scheme Purger -configuration Release build -derivedDataPath ./build
# Install to Applications
cp -R ./build/Build/Products/Release/Purger.app /Applications/
# Or just open Purger.xcodeproj in Xcode and hit ⌘RPurger/
├── PurgerApp.swift # App entry point
├── Models/
│ ├── AppState.swift # Global app state
│ ├── CleanCategory.swift # Cleanup category definitions
│ ├── ScanResult.swift # Scan result data models
│ └── SidebarTab.swift # Navigation tabs
├── Views/
│ ├── ContentView.swift # Main layout with NavigationSplitView
│ ├── StorageAnalyzerView.swift # Deep Scan UI
│ ├── QuickCleanView.swift # Quick Clean UI
│ ├── ToolsView.swift # Tools (Large Files / Duplicates / Apps)
│ ├── LargeFilesView.swift
│ ├── DuplicatesView.swift
│ ├── ApplicationsView.swift
│ ├── SystemJunkView.swift
│ ├── OverviewView.swift
│ └── SettingsView.swift
├── ViewModels/
│ ├── OverviewViewModel.swift
│ └── LargeFilesViewModel.swift
├── Services/
│ ├── DiskScannerService.swift # File system scanning engine
│ └── CleanerService.swift # File removal (move to Trash)
├── Utils/
│ ├── Formatters.swift # Size formatting helpers
│ └── Theme.swift # Colors, fonts, spacing, dimensions
└── Resources/
├── Assets.xcassets/ # App icon & colors
└── Purger.entitlements # Sandbox & file access permissions
MIT License. See LICENSE for details.
市面上的 macOS 清理工具(CleanMyMac、DaisyDisk 等)动辄 几百块 甚至要求订阅,而且你根本不知道它到底在删什么。Purger 不一样:
- 完全免费 — 开源项目,MIT 协议,永久免费
- 安全透明 — 代码完全公开,所有删除操作只会移到废纸篓,不会直接抹掉任何文件
- 智能检测 — 只扫描你机器上真实存在的路径,不会虚报垃圾吓唬你付费
- 原生轻量 — 纯 SwiftUI 构建,无后台驻留,无捆绑推销
全盘分析磁盘空间占用,按分类展示:开发者工具(Xcode、Android SDK、Homebrew、Docker)、应用数据、缓存、用户内容等。只显示你机器上实际存在的项目。
一键清理系统缓存、日志和临时文件。清理前可以展开查看每一项的大小和时间,确认无误后再清理。所有文件移到废纸篓,随时可以恢复。
- 大文件查找 — 快速定位占用空间最大的文件
- 重复文件检测 — 基于内容哈希(CryptoKit)精确识别重复文件
- 应用管理 — 查看已安装应用的数据占用,一键清理应用缓存和关联数据
- macOS 14.0 (Sonoma) 或更高版本
- 前往 Releases 下载页
- 下载
Purger.zip - 解压后将
Purger.app拖入/Applications(应用程序)文件夹 - 从 Launchpad、Spotlight(
⌘ + Space输入 "Purger")或 Finder 中打开即可
提示: 首次打开时 macOS 可能提示"无法验证开发者",前往 系统设置 → 隐私与安全性,点击 "仍要打开" 即可。
需要 Xcode 16+。
# 克隆仓库
git clone https://github.com/Bojun-Vvibe/Purger.git
cd Purger
# 构建 Release 版本
xcodebuild -project Purger.xcodeproj -scheme Purger -configuration Release build -derivedDataPath ./build
# 安装到应用程序文件夹
cp -R ./build/Build/Products/Release/Purger.app /Applications/
# 也可以直接用 Xcode 打开 Purger.xcodeproj,按 ⌘R 运行MIT License,详见 LICENSE。
Version 1.0.0 — 2026-03-23


