Back to Mise

`mise tasks deps`

docs/cli/tasks/deps.md

2026.8.121.3 KB
Original Source
<!-- @generated by usage-cli from usage spec -->

mise tasks deps

Display a tree visualization of a dependency graph

The graph is built from declared dependencies: depends, depends_post, and wait_for. Task references inside a run or run_windows array ({ task = "..." } or { tasks = [...] }) are execution steps, not graph edges, so they do not appear here. Those nested tasks still run, including their own depends.

Arguments

  • [TASKS]… — Tasks to show dependencies for Can specify multiple tasks by separating with spaces e.g.: mise tasks deps lint test check

Flags

  • --compact — Collapse repeated dependencies after their first occurrence
  • --dot — Display dependencies in DOT format
  • --hidden — Show hidden tasks
  • -h --help — Print help

Examples:

# Show dependencies for all tasks
$ mise tasks deps

# Show dependencies for the "lint", "test" and "check" tasks
$ mise tasks deps lint test check

# Show dependencies in DOT format
$ mise tasks deps --dot

# Collapse repeated dependencies
$ mise tasks deps --compact