How to: [⏫](#contents) Explore dependencies graph in CLI with [depth](https://github.com/KyleBanks/depth)
Use this tool to retrieve and visualize Go source code dependency trees in CLI. You can also visualize multiple packages at once, set max depth, select internal only, and show explanation. — [@KyleBanks](https://github.com/KyleBanks)

```
depth github.com/KyleBanks/depth/cmd/depth
```

Example
```
github.com/KyleBanks/depth/cmd/depth
  ├ encoding/json
  ├ flag
  ├ fmt
  ├ io
  ├ log
  ├ os
  ├ strings
  └ github.com/KyleBanks/depth
    ├ fmt
    ├ go/build
    ├ path
    ├ sort
    └ strings
12 dependencies (11 internal, 1 external, 0 testing).
```

Requirements
```
go install github.com/KyleBanks/depth/cmd/depth@latest
```