diskspace
« Back to VersTracker
Description:
Show available disk space on APFS volumes
Type: Cask  |  Latest Version: 1@0  |  Tracked Since: Dec 17, 2025
Links: Homepage  |  @scriptingosx  |  formulae.brew.sh
Category: System utilities
Tags: apfs disk-space macos cli system-utility
Install: brew install --cask diskspace
About:
diskspace is a command-line utility designed to display available disk space specifically for APFS volumes. It provides a more accurate and detailed view than the standard df command by correctly handling APFS snapshots and container structures. This tool is essential for macOS system administrators and developers who need precise storage metrics for managing containerized storage.
Key Features:
  • Displays detailed APFS volume and container information
  • Shows space reclaimed by deleting local snapshots
  • Provides human-readable output formatting
  • Integrates with standard Unix piping and scripting
Use Cases:
  • Monitoring available storage on Mac systems with APFS
  • Automating storage checks in system administration scripts
  • Identifying space consumed by local Time Machine snapshots
Alternatives:
  • df – Standard Unix tool that does not accurately report APFS snapshot space reclamation
  • diskutil – Native macOS utility with more verbose output but less script-friendly formatting
Version History
Detected Version Rev Change Commit