Interactive Disk Usage With gdu

Drill into directory sizes with a keyboard-driven analyzer.

macOSFilesTerminaldiskLow risk
Run gdu to analyze the current directory, or gdu /path for another location.

01Command

Command
$ gdu

02What it does

gdu scans directories quickly, then shows a sortable list with percentages and supports navigating into subdirectories, deleting entries and toggling apparent versus disk size. It is especially fast on SSDs because it reads in parallel.

03Risk

RiskLow risk
CompatibilitymacOS with Homebrew installed
!Warning: The interface can delete files if you press the delete key; confirm the selection before acting.

04Undo

✓No undo needed — this command does not change persistent state.

05Sources

  • Homebrew formula: gdu
    Homebrew · vendor-doc · 2026-09-20
    Evidence: Packages gdu, a fast interactive disk usage analyzer with a TUI.

Last verified: 2026-09-22 · Category: Files & Folders

06Related solutions