apk-dot(8) System Manager's Manual apk-dot(8)

apk dot - generate graphviz graphs

apk dot [<options>...] [pkgmask...]

apk dot renders package dependencies as graphviz graphs.

The graph is generated for the packages matching the masks given, or for every known package if unspecified (this will generate a large and unwieldy graph).

In addition to the global options (see apk(8)), and query options (see apk-query(8)) the following options are supported:

--errors

Consider only packages with errors. This is useful for visually reporting e.g. cyclic dependencies and missing packages.
2025-12-03