---
name: "apk-dot"
section: "8"
platform: "linux"
package: "apk-tools"
version: "3.0.8-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/apk-dot"
---

# apk-dot(8)

generate graphviz graphs

## NAME

apk dot - generate graphviz graphs

## SYNOPSIS

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

## DESCRIPTION

**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).

## OPTIONS

In addition to the global options (see [**apk**(8)](/apk/8.md)), and query options (see [**apk-query**(8)](/apk-query/8.md)) the following options are supported:

- **--errors**

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