# Configuration and updates

Use the installed CLI to inspect its version, update the runtime, and override service endpoints when required.

## Check and update

```bash
foxora --version
foxora update
foxora doctor
```

`foxora update` updates both the CLI and its managed runtime. Run `foxora doctor` afterward if the engine, authentication, or runtime does not come back healthy.

## Environment variables

| Variable | Default | Purpose |
| --- | --- | --- |
| `FOXORA_ENGINE_URL` | `https://engine.foxora.ai` | Engine endpoint. |
| `FOXORA_GATEWAY_URL` | `https://api.foxora.ai` | Gateway endpoint. |
| `FOXORA_RESOURCE_ID` | Current account ID | Memory bucket identifier. |

Use `--remote` when attaching to an existing engine:

```bash
foxora --remote
```

Only override service URLs in a trusted development or managed deployment environment.
