gdu

Fast disk usage analyzer with a terminal interface written in Go

83.0
Score in best disk space analyzers
Check github.com (opens in a new tab)AlternativesCompareShare

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

ProductScorePricePlatformsVisualizationInterfaceDuplicate finder
#5Filelight85.0Free and open sourceLinuxWindowsConcentric ringsDesktop GUINo
#6DaisyDisk84.0One-time purchasemacOSConcentric ringsDesktop GUINo
#7gdu83.0Free and open sourceLinuxWindowsSize bars; donut and treemap in web UITerminal and web UINo
#8Disk Usage Analyzer82.0Free and open sourceLinuxRing chart and treemapDesktop GUINo
#9dust74.5Free and open sourceLinuxmacOSWindowsSized bars in a treeTerminalNo

The full comparison table for best disk space analyzers has all 10 products.

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.

Ranked #7 of 10 disk space analyzers on listme.name
<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>