duf is a command-line tool that shows how much disk space is used and free on mounted filesystems. It is meant as a replacement for the classic df command for people who work in a terminal and want an easier view of their storage.
The output is laid out as a table with colour and human-readable sizes, and it runs on Linux, macOS, FreeBSD and OpenBSD. The source code is public on GitHub. The license is not clearly stated in the facts available, so check the repository before reusing it.
Alternatives to duf
Products that do a similar job in System & Customization.
gdu
Terminal disk usage analyzer written in Go
Disk Usage Analyzer
Shows which folders take up the most space on a disk
GrandPerspective
Disk usage visualiser for macOS
DaisyDisk
Disk space visualiser that shows what takes up room on a Mac
QDirStat
Disk usage viewer with tree and treemap views for Linux
yazi
Terminal file manager written in Rust with async I/O
diskonaut
Terminal disk space navigator for finding what fills your drive
QDirStat
Disk usage visualiser that shows which folders take up the most space