# CLI Configuration

Source: https://docs.generalaugment.com/cli/configuration/
Description: Configure CLI profiles and server endpoints.

The GA CLI reads `~/.genaug/config.yaml`.

```yaml
base_url: https://api.generalaugment.com
api_key: gaadmlive_your_key_here
active_project: demo-agent
profile: default
metadata: {}
```

Use an alternate base URL for local development:

```bash
genaug auth login \
  --api-key test-key \
  --base-url http://localhost:8000
```

Use a separate config file when you want isolated local and production profiles:

```bash
genaug --config ~/.genaug/dev.yaml auth login \
  --api-key test-key \
  --base-url http://localhost:8000
```

The CLI is intentionally independent from server internals. It should keep working as the backend package changes.
