View Source mix deps.tree (Mix v1.15.8)

Prints the dependency tree.

$ mix deps.tree

If no dependency is given, it uses the tree defined in the mix.exs file.

Command line options

  • --only - the environment to show dependencies for

  • --target - the target to show dependencies for

  • --exclude - exclude dependencies which you do not want to see printed.

  • --format - Can be set to one of either:

    • pretty - uses Unicode code points for formatting the tree. This is the default except on Windows.

    • plain - does not use Unicode code points for formatting the tree. This is the default on Windows.

    • dot - produces a DOT graph description of the dependency tree in deps_tree.dot in the current directory. Warning: this will override any previously generated file.