carta
dune-cache(1)

dune-cache1

Manage dune's shared cache of build artifacts.

Usage

dune cache COMMAND …

Overview

Dune can share build artifacts between workspaces. We currently only support a few subcommands; however, we plan to provide more functionality soon.

Commands

clear [OPTION]…

Clear the Dune cache.

size [--machine-readable] [OPTION]…

Query the size of the Dune cache.

trim [--size=BYTES] [--trimmed-size=BYTES] [OPTION]…

Trim the Dune cache.

Options

--help[=FMT] (default=auto)

Show this help in format FMT. The value FMT must be one of auto, pager, groff or plain. With auto, the format is pager or plain whenever the TERM env var is dumb or undefined.

--version

Show version information.

Exit status

dune cache exits with:

0

on success.

1

if an error happened.

130

if it was interrupted by a signal.

History

  • Arch Linux 2026-11-01: the text shown here
  • Debian 13 (Trixie)
  • Debian 12 (Bookworm)
  • Debian 11 (Bullseye)

--config-file until Debian 12 (Bookworm); --display until Debian 12 (Bookworm); --foreground until Debian 12 (Bookworm); --no-config until Debian 12 (Bookworm); --size until Debian 12 (Bookworm); --trimmed-size until Debian 12 (Bookworm); --verbose until Debian 12 (Bookworm); -f until Debian 12 (Bookworm).

From dune 3.24.2-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.