---
name: "hare-cache"
section: "1"
platform: "linux"
package: "hare"
version: "0.26.0.1-2"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/hare-cache"
---

# hare-cache(1)

inspect and manage the build cache

## NAME

hare cache - inspect and manage the build cache

## SYNOPSIS

**hare cache** \[-hc\]

## DESCRIPTION

**hare cache** provides tools to manage the build cache. If no options are supplied, the path and disk usage of the cache are printed.

## OPTIONS

- **-h**

  Print the help text.

- **-c**

  Clear the cache.

## ENVIRONMENT

The following environment variables affect **hare cache**'s execution:

| | |
| --- | --- |
| **HARECACHE** | The path to the build cache. Defaults to **$XDG\_CACHE\_HOME/hare**, or **~/.cache/hare** if **$XDG\_CACHE\_HOME** isn't set. |

## SEE ALSO

[**hare-build**(1)](/hare-build/1.md), [**hare-run**(1)](/hare-run/1.md), [**hare-test**(1)](/hare-test/1.md)
