gdu
Fast disk usage analyzer with a terminal interface written in Go
- #7 of 10 in best disk space analyzers
- Free and open source
- Free to use
- Open source
- LinuxWindows
Opens the official site in a new tab. Check current plans and terms there; nothing is purchased on listme.name.
Ranked 7 of 10 in best disk space analyzers
A terminal analyzer with an optional web UI, delete and trash actions and JSON export. Unlike dust, it can delete or trash items from its interface, but it has no duplicate finder.
Best for Servers and remote shells that need an interactive browser
About gdu
gdu scans a directory and shows its contents sorted by size, with bars that make the largest folders easy to spot. The same program has three modes: the interactive terminal interface, a non-interactive mode that prints a summary or the top files, and a web UI that runs in a browser with a donut chart, a treemap and a sortable table. Several directories can be scanned in one run.
Deleting is available in the interactive mode, and the --no-delete option turns it off. Items can be moved to the trash with the built-in trash or with a command set by --trash-command. Exported JSON keeps raw byte values for scripts. The project does not list a duplicate finder, so it covers sizes and cleanup rather than duplicate files.
Key features
- Size bars in the terminal
- Web UI with donut chart and treemap
- Non-interactive summaries
- JSON export
- Configurable trash command
Strengths
- Terminal and web UI from one program
- Non-interactive summaries and JSON export for scripts
- Delete and trash options that can be switched off with --no-delete
Limits
- No duplicate file finder
- Terminal-first, so the web UI is a separate mode to start
Where gdu ranks
How gdu compares
| Product | Score | Price | Platforms | Visualization | Interface | Duplicate finder |
|---|---|---|---|---|---|---|
| #5 | 85.0 | Free and open source | LinuxWindows | Concentric rings | Desktop GUI | No |
| #6 | 84.0 | One-time purchase | macOS | Concentric rings | Desktop GUI | No |
| #7gdu | 83.0 | Free and open source | LinuxWindows | Size bars; donut and treemap in web UI | Terminal and web UI | No |
| #8 | 82.0 | Free and open source | Linux | Ring chart and treemap | Desktop GUI | No |
| #9dust | 74.5 | Free and open source | LinuxmacOSWindows | Sized bars in a tree | Terminal | No |
The full comparison table for best disk space analyzers has all 10 products.
Alternatives to gdu
All 9 alternatives
WinDirStatFree disk usage analyzer with treemaps and duplicate scanning for Windows
WizTreeAlso runs on macOS.- QDirStatAlso runs on macOS.
TreeSizeWindows disk space analyzer with tree views, treemaps and duplicate search
FilelightKDE disk usage viewer that shows folders as concentric rings
DaisyDiskIs a one-time purchase; also runs on macOS.
Questions about gdu
- Is gdu free?
- gdu can be used without paying: Free and open source under the MIT license. Check the vendor’s pricing page for current limits.
- Is gdu open source?
- Yes. gdu publishes its source code under the MIT license.
- Which platforms does gdu support?
- gdu is available on: Linux, Windows.
- What is gdu best for?
- Servers and remote shells that need an interactive browser. In our ranking of disk space analyzers it is number 7 of 10 with a score of 83.0.
- What are the best alternatives to gdu?
- The highest-ranked alternatives on listme.name are WinDirStat, WizTree, QDirStat, TreeSize.
Show this ranking on your site
If you make or maintain gdu, this badge links back to this page and shows its current rank. It updates when the ranking does.
<a href="https://listme.name/software/gdu"><img src="https://listme.name/badge/gdu.svg" height="28" alt="Ranked #7 of 10 disk space analyzers on listme.name"></a>