MPM-ORPHANS(1) MPM-ORPHANS(1)

mpm orphans - List orphaned packages.

mpm orphans [OPTIONS] [QUERY]

List packages installed as dependencies that no package requires anymore.

Each manager reports its orphans through its own native read-only query (`pacman --query --deps --unrequired`, `brew autoremove --dry-run`, `dnf repoquery --unneeded`, ...): `mpm` builds no dependency graph of its own. Review the list here, then act on it with `mpm cleanup --orphans`.

With an optional `QUERY`, restrict the listing to orphaned packages whose ID or name matches it. The match is fuzzy by default (case-insensitive, tokenized); `--exact` requires a verbatim match on the package ID or name.

[QUERY]

With a QUERY, only keep packages whose ID or name matches it exactly, instead of the default case-insensitive, tokenized (fuzzy) match. No effect without a QUERY.
Restrict and reorder table columns, SQL SELECT-style. Comma-separated list of column IDs. Default: all columns in canonical order.
Show this message and exit.

With a QUERY, only keep packages whose ID or name matches it exactly, instead of the default case-insensitive, tokenized (fuzzy) match. No effect without a QUERY.
Restrict and reorder table columns, SQL SELECT-style. Comma-separated list of column IDs. Default: all columns in canonical order.
Show this message and exit.

0
Success.
1
A runtime error, or an aborted prompt (Ctrl-C, a declined confirmation).
2
A usage error: unknown option, invalid value, missing operand, or an unparsable configuration file.
2026-08-04