hyperdu Jaret Varn
Install hyperdu with WinGet
winget install --id=JaretVarn.hyperdu -e A high-performance, cross-platform terminal-base directory space analyzer.
winget install --id=JaretVarn.hyperdu -e A high-performance, cross-platform terminal-base directory space analyzer.
A terminal disk usage explorer for big directory trees and slow filesystems. Written in C# on .NET 10, runs on Linux, macOS and Windows.
You can browse while it scans. The folder you are looking at gets scanned first, so you don't have to wait for the whole disk before you can open a directory.

⚡).+size / +files deltas and a scan time when each folder finishes./proc, /sys, /dev, /run), and optionally hidden files or paths you exclude.
hyperdu du against GNU du 9.4 on a 4-core Ubuntu 24.04 runner (warm cache, benchmark suite). Output matched du in all 64 scenarios.
Median time for du -s:
| Tree | GNU du | hyperdu du | Speedup |
|---|---|---|---|
| 250,000 files in 250 dirs | 290 ms | 120 ms | 2.4x |
| 50,000 files in 500 dirs | 62 ms | 36 ms | 1.7x |
Dev monorepo (15,000 files, node_modules, .git) | 22 ms | 16 ms | 1.4x |
| 20,000 files in one directory | 32 ms | 26 ms | 1.2x |
| 251 nested dirs, 23 files | 2.3 ms | 3.9 ms | 0.6x |
du: about 3 MiB).Homebrew (macOS, Linux):
brew install jav76/tap/hyperdu
WinGet (Windows):
winget install JaretVarn.hyperdu
.NET tool (any platform with the .NET 10 runtime; for hyperdu TUI and hyperdu du, not a du drop-in):
dotnet tool install -g hyperdu
Self-contained Native AOT binaries for Linux and macOS (x64, arm64) and Windows (x64, x86) are attached to each GitHub Release, along with a SHA256SUMS file. They need no .NET runtime and no ICU library. Linux and macOS .tar.gz archives include du and gdu symlinks next to hyperdu.
xattr -d com.apple.quarantine hyperdu.tar -xzf hyperdu-linux-x64.tar.gz
./hyperdu --version
duInvoked as du or gdu (a symlink to the Native AOT binary), or as hyperdu du, hyperdu runs as a non-interactive du with matching output. Plain hyperdu opens the explorer.
gdu everywhere: 1024-byte blocks, --apparent-size, -b, --block-size, --exclude, --files0-from, --inodes, --time, --max-depth and more.du on macOS: 512-byte blocks, BLOCKSIZE, -A, -B, -g, -I, -n, -r, -d and BSD-style errors.HYPERDU_DU_DIALECT=gnu or bsd. Set worker threads with HYPERDU_THREADS=.Install the binary and symlinks ahead of /usr/bin on PATH:
# System-wide (works with sudo, cron and scripts)
sudo tar -xzf hyperdu-linux-x64.tar.gz -C /usr/local/bin hyperdu du gdu
# Current user only
mkdir -p ~/.local/bin && tar -xzf hyperdu-linux-x64.tar.gz -C ~/.local/bin hyperdu du gdu
/usr/bin/du. The OS package manager owns it. Remove hyperdu with rm -f /usr/local/bin/{du,gdu,hyperdu}.sudo, cron and #!/bin/sh scripts usually ignore ~/.local/bin and shell aliases. Use /usr/local/bin if they should get hyperdu.du drop-in: it ignores the symlink name and has JIT startup cost. Use hyperdu du ... with it, or use the release archive.hyperdu [option]... [path]
path defaults to the current directory. Short flags align with GNU du.
| Option | Description | Default |
|---|---|---|
-j, --threads | Number of scanner worker threads. | CPU cores; max(32, 2 x cores) on network mounts; 1 on HDDs |
--apparent-size | Count apparent file sizes instead of allocated 512-byte disk blocks. | Off (allocated blocks) |
-b, --bytes | Count apparent sizes and display exact byte counts. | Off |
-h, --human-readable | Format sizes in binary multiples of 1024. | On (in explorer UI) |
--si | Format sizes in SI powers of 1000. | Off |
-t, --threshold | Hide entries smaller than SIZE (+SIZE / SIZE) or greater than SIZE (-SIZE). | None |
-l, --count-links | Count hard-linked files multiple times. | Off (deduplicated) |
-x, --one-file-system | Skip directories and targets on different filesystems. | Off |
-L, --dereference | Follow symbolic links. | Off |
--exclude | Skip files and directories matching glob PATTERN. Repeatable. | None |
-X, --exclude-from | Read exclude glob patterns from FILE (one per line, - for stdin). | None |
--skip-hidden | Skip hidden and system files. | Off |
-V, --version | Print the version and exit. | |
--help | Print help and exit. |
Set HYPERDU_NATIVE_IO=0 to use the .NET file enumerator instead of direct libc calls on Linux and macOS. It is slower and cannot open names that are not valid UTF-8.
| Key | Action |
|---|---|
↑ / ↓ | Move the selection |
Enter | Open the selected folder |
Backspace / ← | Go up a level |
Space | Pause or resume scanning |
R | Rescan the selected folder (or the current one) |
Q / Esc | Quit |
The scan queue has three priority levels:
| Priority | What gets it |
|---|---|
| High | The highlighted folder and everything under it |
| Medium | The folder you opened and everything under it |
| Low | Everything else |
Priorities update as you move, so moving the cursor onto a large folder makes the scanner work on it next.
In the list, a spinner (⠏⠋) means a folder is still scanning. ⚡ next to the spinner means it is prioritized. No marker means it is done.
Below, /var was opened while / was still scanning. /var (medium) and the highlighted lib (high) are marked ⚡, and the scanner is already working inside /var/lib:

Requires the .NET 10 SDK.
git clone https://github.com/jav76/hyperdu.git
cd hyperdu
dotnet run --project hyperdu.Cli -- [option]... [path]
./publish.sh builds self-contained single-file binaries for linux-x64, linux-arm64, win-x64, win-x86, osx-x64 and osx-arm64 into publish/.
Versions come from git tags via MinVer.
MIT. Copyright (c) 2026 Jaret Varn.