diskspace
brew install --cask diskspace
v1
Show available disk space on APFS volumes
10
30-day installs · #4058
37
90-day · #3776
384
365-day · #2454
171
★ GitHub stars · updated 1y ago
GitHub topics
apfs
command-line-tool
disk-space
macadmin
macos
Links
- https://github.com/scriptingosx/diskspace
- GitHub: scriptingosx/diskspace
- Brew formula source: Casks/d/diskspace.rb
Raw metadata
{
"alternatives": [],
"artifacts": [
{
"uninstall": [
{
"pkgutil": "com.scriptingosx.diskspace"
}
]
},
{
"pkg": [
"diskspace-1.pkg"
]
}
],
"auto_updates": null,
"categories": [],
"deprecated": 0,
"deprecation_reason": null,
"desc": "Show available disk space on APFS volumes",
"disable_reason": null,
"disabled": 0,
"display_name": "diskspace",
"enrichment_fetched_at": "2026-06-20T22:42:08+00:00",
"first_seen": "2026-06-20T00:47:34+00:00",
"full_token": "diskspace",
"github_default_branch": "main",
"github_last_commit_at": "2025-07-28T07:22:51Z",
"github_readme_excerpt": "# diskspace\n\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\n\nReturns available disk space\n\nWith the various APFS features the value for free disk space returned from\ntools such as `du` or `df` will not be accurate. This tool uses system\nfunctions to get various measures of available disk space.\n\nThe \u0027Important\u0027 value matches the free disk space value shown in Finder.\n\nYou can get the details from Apple\u0027s documentation:\n\nhttps://developer.apple.com/documentation/foundation/urlresourcekey/checking_volume_storage_capacity\n\n```\nUSAGE: diskspace [--human-readable] [--available] [--important] [--opportunistic] [--total] [\u003cvolume-path\u003e]\n\nARGUMENTS:\n \u003cvolume-path\u003e path to the volume (default: /)\n\nOPTIONS:\n -H, --human-readable Human readable output using unit suffixes\n -a, --available Print only the value of the Available Capacity\n -i, --important Print only the value of the Important Capacity\n -o, --opportunistic Print only the value of the Opportunistic Capacity\n -t, --total Print only the value of the Total Capacity\n --version Show the version.\n -h, --help Show help information.\n ```",
"github_repo": "scriptingosx/diskspace",
"github_stars": 171,
"github_topics": [
"apfs",
"command-line-tool",
"disk-space",
"macadmin",
"macos"
],
"homepage": "https://github.com/scriptingosx/diskspace",
"homepage_og_description": null,
"homepage_og_image": null,
"homepage_title": null,
"installs_30d": 10,
"installs_365d": 384,
"installs_90d": 37,
"last_seen": "2026-06-20T00:47:34+00:00",
"llm_generated_at": null,
"llm_model": null,
"names": [
"diskspace"
],
"one_liner": null,
"rank_30d": 4058,
"rank_365d": 2454,
"rank_90d": 3776,
"raw_hash": "f0885375b9655a08",
"ruby_source_path": "Casks/d/diskspace.rb",
"tap": "homebrew/cask",
"token": "diskspace",
"version": "1",
"why_use_this": null
}