Our take
- Activity
- 19
- Community
- 63
- Issues
- 37
- Pull requests
- 20
+46 stars in the last 30 days
- Slower to close issues than 86% of the projects we track
Project history
Daily GitHub snapshots since Oct 7, 2026. History covers stars and forks; health signals are not tracked historically.
Stars
15,391Forks
476Change since Nov 17, 2026: +4 stars·0 forks
Overview
duf is a command-line alternative to df for checking disk space across Linux, BSD, macOS, and Windows. It presents filesystem capacity, available space, and usage in a colorful table that adapts to the terminal, making it easier to scan than a conventional text report.
Use it when you want a quick view of mounted filesystems or need to narrow the output to particular devices, filesystem types, or mount points. JSON output is available for workflows that need to consume the results programmatically.
Key Features
- Displays filesystem size, used and available space, usage, and inode information.
- Sorts results by fields such as mount point, size, usage, or filesystem type.
- Filters devices, filesystem types, and mount points, including with wildcards for mount points.
- Groups filesystem results into categories such as local, network, and special devices.
- Highlights availability and usage, with configurable thresholds and terminal color themes.
- Offers JSON output for scripts and other tools.
- Runs on Linux, BSD, macOS, and Windows.
Use Cases
- Desktop users can quickly check which mounted drive is running low on space.
- System administrators can filter or sort filesystem reports while investigating storage across a machine.
- Operators can include otherwise omitted pseudo, duplicate, or inaccessible filesystems when troubleshooting with
--all. - Developers can request JSON output to feed disk information into scripts or other processing tools.
Getting Started
Install with a package manager, or build from source with Go 1.23 or later:
go install github.com/muesli/duf@latest
Then run duf. See the repository README for package options, filtering, display settings, and additional usage details.
Considerations
- Building from source requires Go 1.23 or later.
- The default output is intended for terminal use. JSON output is available when another tool needs to process the results.
- The repository input reports the license as
NOASSERTION; check the repository for current licensing details.
Found this useful?
Share it with someone who would like duf.