A native macOS app that displays detailed SMART information for all connected disks — internal NVMe, external USB, and SATA drives.
Built with SwiftUI and Swift 6, no Xcode required.
- Real-time disk scan — detects all physical disks via
diskutil - SMART health data — temperature, wear, spare, usage, reliability
- All temperature sensors — shows every sensor the drive reports
- Progress bars — visual indicators for health % and spare
- SATA support — reallocated sectors, pending sectors, CRC errors
- Technical details — full
smartctlraw output parsed (NVMe version, PCI vendor, power states, etc.) - Auto-install — if
smartctlor even Homebrew are missing, the app offers to install them with one click - Single admin prompt — batches all
smartctlcommands into one authentication - Native macOS UI — sidebar + detail, dark/light mode, native materials
- macOS 14.0+ (Apple Silicon or Intel)
- Internet connection (only if auto-install is needed)
- Open
DiskInfo.appor run from source:swift run
- If
smartctlis not found, the app will offer to install it automatically (one click). - Authorize the admin prompt to read SMART data (one-time per session).
No manual setup required.
git clone https://github.com/Swallow74/DiskInfo.git
cd DiskInfo
swift build -c release
cp .build/arm64-apple-macosx/release/DiskInfo DiskInfo.app/Contents/MacOS/DiskInfoThe app uses two command-line tools behind the scenes:
diskutil(built into macOS) — lists disks and retrieves basic info (model, size, interface)smartctl(from smartmontools) — reads detailed SMART/health data via NVMe or ATA protocols
If smartctl is missing, the app auto-installs it via Homebrew (brew install smartmontools). If Homebrew itself is missing, it installs that too. All privileged operations run through a single osascript admin-authenticated call.
MIT
