Visualize Your Elixir Dependencies
To visualize your Elixir dependencies, try this:
$ mix deps.tree
This prints a tree showing your dependencies (and their dependencies):
$ mix deps.tree
tilex
├── gettext ~> 0.13 (Hex package)
├── hackney 1.8.0 (Hex package)
│ ├── certifi 1.1.0 (Hex package)
│ ├── idna 4.0.0 (Hex package)
│ ├── metrics 1.0.1 (Hex package)
│ ├── mimerl 1.0.2 (Hex package)
│ └── ssl_verify_fun 1.1.1 (Hex package)
This is really handy when trying to track down where a deprecation warning or error is coming from.
h/t Dorian Karter
Tweet