All apps/dua

dua

dua-cli

A fast disk-usage analyzer with an interactive terminal interface.

Runs as dua|macOS, Linux, Windows|github.com

Command form

ai-draft · 4 tasks · 22 fields

Disk usage analysis with dua: aggregate sizes, the interactive browser, disposable-directory discovery and flame graphs. Short flags, snapshots and config subcommands are not covered.

Opens the form; the finished command lands at your prompt, unrun
otty gui dua-cli

dua aggregate

Aggregate sizes
Aggregate sizesExample values, fixed in this page — nothing here reaches a terminal
Basic
Files or directories
any
Tree depth
integer
Apparent size
--apparent-size
Byte format
7 choicesenum
TasksEach one presets the form for one job
Size summary
inputsdepthapparent_sizeformat
ParametersOnly these flags are editable in the form
Files or directories
Defaults to the current directory.
path · positional 0 · repeatable
Tree depth
Print an indented tree this many levels deep.
integer
--depth
Apparent size
Show apparent size instead of disk usage.
boolean
--apparent-size
Byte format
enum
--formatmetricbinarybytesgbgibmbmib
Keep command-line order
boolean
--no-sort
No total column
boolean
--no-total
Ignore patterns file
gitignore-style patterns whose matches are left out.
path · repeatable
--ignore-from
Threads
0 uses the number of logical processors.
integer
--threads

dua interactive

Browse interactively
Browse interactivelyExample values, fixed in this page — nothing here reaches a terminal
Basic
Files or directories
any
Apparent size
--apparent-size
Ignore patterns file
file
TasksEach one presets the form for one job
Browse a directory
inputsapparent_sizeignore_from
ParametersOnly these flags are editable in the form
Files or directories
Defaults to the current directory.
path · positional 0 · repeatable
Apparent size
Show apparent size instead of disk usage.
boolean
--apparent-size
Ignore patterns file
gitignore-style patterns whose matches are left out.
path · repeatable
--ignore-from
Threads
0 uses the number of logical processors.
integer
--threads
Byte format
enum
--formatmetricbinarybytesgbgibmbmib

dua clean

Find disposable directories
Find disposable directoriesExample values, fixed in this page — nothing here reaches a terminal
Basic
Directories to search
directory
Discovery depth
integer
TasksEach one presets the form for one job
Search for disposable directories
inputsdepth
ParametersOnly these flags are editable in the form
Directories to search
Defaults to the current directory.
path · positional 0 · repeatable
Discovery depth
0 checks only the supplied directories.
integer
--depth
Skip entry presence check
Faster on slow filesystems.
boolean
--no-entry-check
Ignore patterns file
gitignore-style patterns whose matches are left out.
path · repeatable
--ignore-from

dua flamegraph

Render a flame graph
Render a flame graphExample values, fixed in this page — nothing here reaches a terminal
Basic
Files or directories
any
SVG output file*
file
Depth
integer
TasksEach one presets the form for one job
Write an SVG
inputsoutputdepth
ParametersOnly these flags are editable in the form
Files or directories
Defaults to the current directory.
path · positional 0 · repeatable
SVG output file
Defaults to a temporary file.
path
-o
Depth
integer
--depth
Apparent size
Show apparent size instead of disk usage.
boolean
--apparent-size
Ignore patterns file
gitignore-style patterns whose matches are left out.
path · repeatable
--ignore-from
SourcesEvery flag above is checked against these
readme
dua aggregate --help Files that share only some blocks are not deduplicated, and `--apparent-size` By default `aggregate` prints a flat listing. Pass `--depth N` to instead print an indented tree `--no-sort` and `--no-total` work the same way they do for the flat listing. `--ignore-from FILE` reads gitignore-style patterns and leaves everything they match ou…
manual2026-10-27

github.com

readme
dua aggregate --help Files that share only some blocks are not deduplicated, and `--apparent-size` By default `aggregate` prints a flat listing. Pass `--depth N` to instead print an indented tree `--no-sort` and `--no-total` work the same way they do for the flat listing. `--ignore-from FILE` reads gitignore-style patterns and leaves everything they match ou…
manual2026-10-27

github.com

readme
dua aggregate --help Files that share only some blocks are not deduplicated, and `--apparent-size` By default `aggregate` prints a flat listing. Pass `--depth N` to instead print an indented tree `--no-sort` and `--no-total` work the same way they do for the flat listing. `--ignore-from FILE` reads gitignore-style patterns and leaves everything they match ou…
manual2026-10-27

github.com

readme
dua aggregate --help Files that share only some blocks are not deduplicated, and `--apparent-size` By default `aggregate` prints a flat listing. Pass `--depth N` to instead print an indented tree `--no-sort` and `--no-total` work the same way they do for the flat listing. `--ignore-from FILE` reads gitignore-style patterns and leaves everything they match ou…
manual2026-10-27

github.com

Before it fills your prompt, Otty checks the installed dua against its version. A form that does not match your version is not offered.