qmetrics.net

dua-cli

Parallel terminal disk usage analyzer and cleanup helper

dua-cli screenshot

dua (Disk Usage Analyzer) reports directory space quickly in parallel and offers interactive exploration plus selective deletion.

Overview

dua scans directories to show how disk space is used. It runs work in parallel by default to return aggregate listings quickly from SSDs and spinning disks alike. The aggregate subcommand prints flat totals or an indented tree with a depth limit, and supports gitignore-style exclude files for backup-oriented sizing.

Interactive mode, started with dua i or dua interactive, provides a terminal UI to browse entries, mark items, and delete with a multi-step guard against mistakes. Cleanup mode finds disposable folders such as node_modules, Python caches, Cargo target trees, and similar candidates, grouping them for review without auto-deleting anything.

Additional commands emit folded stack data or SVG flame graphs of usage. Configuration lives in a platform-specific config.toml with customizable keybindings. Pre-built binaries and package-manager installs are documented for macOS, Linux, and Windows, along with cargo installs for Unix and nightly cargo on Windows when a TUI build is needed.

Key features

  • Parallel directory aggregation
  • Interactive TUI browse and delete
  • gitignore-style path exclusions
  • Disposable directory cleanup hub
  • Folded stacks and flame graphs
  • APFS clone deduplication option on macOS
  • Localized interactive UI
  • Configurable keybindings file

Use cases

  • Finding what consumes disk space
  • Safely deleting files from terminal UI
  • Clearing dev dependency caches
  • Sharing tree-style usage reports

Does the same job as

dua-cli doesn't name these products itself, but its own description shows it does the same job.

Tags

Compare dua-cli

Similar software

Ventoy

Bootable USB loader for ISO and disk images

Ventoy prepares a USB drive so you can copy ISO, WIM, IMG, VHD, and EFI files and pick them from a boot menu without reformatting for each image.

★ 81.3k⟳ 4 days agoGPL-3.0
File Management & SyncDesktop/CLI app

Rufus

Portable Windows utility for bootable USB drives

Rufus formats USB and similar drives and writes bootable media from ISOs or disk images. It runs as a single executable on Windows without a separate install step.

★ 38.5k⟳ 3 days agoGPL-3.0
File Management & SyncDesktop/CLI app

QuickLook

Windows Space-bar instant file preview utility

QuickLook adds macOS-style Quick Look to Windows: select a file and press Space for an immediate preview without launching a full editor. It supports many media, document, code, and archive types with optional plugins.

★ 25.9k⟳ todayGPL-3.0
File Management & SyncDesktop/CLI app

App Manager

Full-featured Android package manager and app inspector

App Manager lists installed packages in depth, installs split APK bundles, and adds backup, debloat, and debugging tools for advanced Android users.

★ 9.7k⟳ 24 days agoGPL-3.0
File Management & SyncDesktop/CLI app

PureMac

Free native macOS cleaner and app uninstaller

PureMac scans caches, dev tool leftovers, duplicates, and related clutter on macOS, uninstalls apps with linked files, and explores storage without telemetry or subscriptions.

★ 8k⟳ yesterdayMIT
File Management & SyncDesktop/CLI app
Open Source Alternative to:CleanMyMac

Fdupes

Command-line duplicate file finder for directories

Fdupes scans directories you specify and finds duplicate files by content. It can flag duplicates or remove them depending on how you run it.

★ 3k⟳ 7 months agoMIT
File Management & SyncDesktop/CLI app