guix graph command provides a visual representation of packages and their dependencies.
Sometimes we need to check the packages and their dependencies and this is diffcult to check manually. So the
guix graph command can help us and provides a visual representation of DAG. By default,
guix graph emits a DAG representation in the input format of Graphviz, so its output can be passed directly to the
dot command of Graphviz.
guix graph options package
For example, the following command generates a PDF file representing the package DAG for the GNU Core Utilities, showing its build-time dependencies:
guix graph coreutils | dot -Tpdf > dag.pdf
The output looks like this:
Note that you should install
graphviz package for running the