> ## Documentation Index
> Fetch the complete documentation index at: https://sdk.docs.xano.com/llms.txt
> Use this file to discover all available pages before exploring further.

# xanosdk local cache

> `list`: each cached engine version, its size on disk, and the engines running on it. `clear`: remove every cached engine and the runtime they unpacked, or one with `--version <v>` — any engine running on a removed version is stopped first; the next deploy fetches and restarts it.

## Usage

```bash theme={null}
xanosdk local cache <action> [options]
```

`<action>` is one of: `list`, `clear`.

## Flags

| Flag | Description |
| - | - |
| `--version <v>` | `clear` only: remove just this cached version — v0.1.5, `latest` (the release `update` would pin), `override`, or an override's `src-…` id from `cache list` |
| `--legacy-runtime` | `clear` only: remove instead the runtime copy earlier versions unpacked in your own cache directory (`cache list` shows it); asks first |
| `--yes, -y` | Skip the `--legacy-runtime` confirmation (required when there is no terminal) |

Global flags are listed in the [CLI overview](/reference/cli).

***

*Generated from @xano/sdk 1.0.9.*


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.