# No remote cache is set up

What "no remote cache is set up" means and how to fix it.

```text
error: no remote cache is set up, and no address was given
hint: Give the server's address, such as axle login https://cache.example.com, or add one with axle link.
```

```text
error: no remote cache is set up
hint: Add one with axle link, or set AXLE_REMOTE_CACHE_URL.
```

## Why it happens

`axle login` or `axle logout` was run without an address, or `axle cache clean --remote` was run, and neither `url` under `[cache.remote]` in `axle.toml` nor `AXLE_REMOTE_CACHE_URL` names one.

## How to fix it

Give the address, such as `axle login https://cache.example.com`, or connect the repository first with [`axle link`](https://axlers.dev/docs/reference/remote-cache.md#connecting-a-repository).
