# marmot cache (/docs/commands/cache)

<!-- Generated by scripts/gen.mjs from `marmot cache --help` and scripts/commands.mjs. Do not edit by hand. -->

Show the size of the build cache. trim shrinks it to MARMOT_CACHE_MAX_MB (default 4096). clean removes it.

```text title="Usage"
marmot cache [trim|clean] [flags]
```

## Examples [#examples]

```sh
marmot cache
marmot cache trim
```

`marmot cache` shows the size of the build cache. `marmot cache trim` shrinks it to
`MARMOT_CACHE_MAX_MB` (default 4096). `marmot cache clean` removes it.

## Full help [#full-help]

```text title="marmot cache --help"
Show the size of the build cache. trim shrinks it to MARMOT_CACHE_MAX_MB (default 4096). clean removes it.

Usage:
  marmot cache [trim|clean] [flags]

Examples:
marmot cache
marmot cache trim

Flags:
  -h, --help   help for cache
```