> For the complete documentation index, see [llms.txt](https://docs.takomo.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.takomo.io/command-line-usage/inspect-stack-dependencies.md).

# Inspect stack dependencies

Inspect dependencies between stacks within the given command path. Prints the dependency graph in a [DOT](https://en.wikipedia.org/wiki/DOT_\(graph_description_language\)) format which can be rendered using various tools like [this one](https://dreampuf.github.io/GraphvizOnline/).

## Usage

```bash
tkm stacks inspect dependency-graph [command-path]
```

## Positional arguments

* `command-path`
  * Command path to select which stacks to include.
  * Optional, by default, Takomo lists all stacks.

## Options

In addition to the [common options](/command-line-usage/common-options.md), this command has no command-specific options.

## Examples

Inspect dependencies from all stacks:

```
tkm stacks inspect dependency-graph
```

Inspect dependencies within the given command path:

```
tkm stacks inspect dependency-graph /prod
```
