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

PowerToys

Open-source Windows desktop utility collection

Microsoft PowerToys bundles many small utilities for customizing Windows and streamlining common desktop tasks. Users install it on Windows through several package channels.

  • Bundled Windows desktop utilities
  • Window layout and zoning tools
  • Bulk file rename utility
CWindowsDetails →
★ 141.8k⟳ todayMIT

Mole

Open-source Mac and Windows cleanup CLI and apps

Mole cleans caches, uninstalls apps with leftovers, analyzes disk use, runs maintenance tasks, and shows live system stats. A free terminal tool ships alongside optional native Mac and Windows apps.

  • Cache, log, and leftover cleanup
  • Smart app uninstall with related files
  • Interactive terminal disk analyzer
ShellLinux, macOS, Windows, CLIDetails →
★ 77.1k⟳ todayGPL-3.0
Open Source Alternative to:CCleanerCleanMyMac+1

Win11Debloat

PowerShell declutter tool for Windows 10 and 11

Win11Debloat is a no-install PowerShell script that removes bundled apps, limits telemetry, and applies registry and UI tweaks on Windows 10 and 11.

  • Bulk removal of preinstalled apps
  • Telemetry and ads disabling options
  • Copilot and Recall removal toggles
PowerShellWindows, CLIDetails →
★ 64.3k⟳ todayMIT

CleanYourTV

Wi-Fi Android TV debloat and custom home launcher toolkit

CleanYourTV disables manufacturer bloat and telemetry on Android and Google TV over Wi-Fi, then installs a compact home launcher. Changes are reversible without root or uninstalling packages.

  • Network ADB backup and debloat scripts
  • Reversible package disable without root
  • Custom Apple TV-style launcher APK
PythonAndroid, CLIDetails →
★ 62.9k⟳ 3 days agoMIT

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.

  • USB and flash drive formatting
  • Bootable media from ISOs and images
  • Windows 11 media without TPM or Secure Boot
CWindowsDetails →
★ 38.6k⟳ todayGPL-3.0

UniGetUI

Cross-platform GUI for many CLI package managers

UniGetUI is a desktop app that unifies WinGet, Scoop, Chocolatey, Homebrew, Linux distro tools, and language package managers behind one graphical interface. It targets Windows first with builds for macOS and Linux.

  • Unified multi-manager package catalog
  • One-click install update uninstall
  • Scheduled maintenance and backups
C#Linux, macOS, WindowsDetails →
★ 27.5k⟳ todayMIT