GH-CACHE(1) GitHub CLI manual GH-CACHE(1)

# [NAME](#NAME)

gh-cache - Manage GitHub Actions caches

# [SYNOPSIS](#SYNOPSIS)

**gh cache &lt;command&gt; \[flags]**

# [DESCRIPTION](#DESCRIPTION)

Work with GitHub Actions caches.

# [AVAILABLE COMMANDS](#AVAILABLE_COMMANDS)

[**gh-cache-delete(1)**](#gh_cache_delete%281%29)

Delete GitHub Actions caches

[**gh-cache-list(1)**](#gh_cache_list%281%29)

List GitHub Actions caches

# [OPTIONS](#OPTIONS)

[**-R**, **--repo** **&lt;\[HOST/\]OWNER/REPO&gt;**](#R)

Select another repository using the \[HOST/]OWNER/REPO format

# [EXIT CODES](#EXIT_CODES)

0: Successful execution

1: Error

2: Command canceled

4: Authentication required

NOTE: Specific commands may have additional exit codes. Refer to the command's help for more information.

# [EXAMPLE](#EXAMPLE)

```
$ gh cache list
$ gh cache delete --all
```

# [SEE ALSO](#SEE_ALSO)

[**gh(1)**](/man/os/gh/gh.1)

Oct 2026

---

Document: gh-cache(1) from gh 2.102.1-r0 (Chainguard OS)
Source: https://github.com/cli/cli
