See what's taking up your disk.
Run szt (short for sizetree) in any folder to get a tree of where the space went: biggest first, every folder with the total of everything inside it, opened up only where the space is. On a Mac Studio it scans 667,000 files in 2.4 seconds, where du takes 17.
brew install urtti/szt/sztmacOS 15+ · Native Swift binary · MIT licensed

szt on /Applications: 33 GB in 447,000 files, scanned in 1.2 seconds.
Everyday use
$ sztWhat's big in the current folder$ szt ~ -n 80The 80 biggest things in your home folder$ szt ~/Library -d 2No more than two levels deep$ szt . -m 1GOnly things of 1 GB or more$ szt ~/Downloads -aBy file length instead of space on disk$ sudo szt / -XThe whole startup disk, system volumes too$ szt ~ --allEvery entry, not only what fits in your terminal
How it compares
szt against dua, dust, diskus, gdu, du and ncdu, each with its default settings, on a Mac Studio (M2 Ultra). How it was measured
- szt2.4 s
- dua2.6 s1.1× slower
- dust8.1 s3.4× slower
- diskus11.4 s4.7× slower
- gdu11.6 s4.8× slower
- du17.2 s7.2× slower
- ncdu17.5 s7.3× slower
Median of five runs per tool. Hover or focus a bar for CPU time and memory.
Why it's fast
A disk usage tool never reads your files: the whole job is listing folders and asking how big each entry is. szt asks macOS about a whole folder at once with getattrlistbulk instead of making a call for every file. And it runs one thread per performance core, up to eight, because past that the threads mostly wait for each other in the kernel.