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

# Google CLI

> CLI commands for Google Gemini provider

# Google CLI Commands

Manage and test Google Gemini provider via the command line.

## Environment Setup

```bash theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
export GOOGLE_GENERATIVE_AI_API_KEY=AIza...
```

## Commands

### Check Provider Status

```bash theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
praisonai-ts providers doctor google
```

**Output:**

```
Provider Doctor: google

  Package: @ai-sdk/google
  Description: Google Generative AI (Gemini)
  Environment Variable: GOOGLE_API_KEY
  Status: ✅ Ready

  Modalities:
    Text/Chat: ✅  Embeddings: ✅  Image: ✅
    Audio: ✅  Speech: ✅  Tools: ✅
```

### JSON Output

```bash theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
praisonai-ts providers doctor google --json
```

### Test Provider

```bash theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
praisonai-ts providers test google gemini-2.0-flash
```

### Chat with Google

```bash theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
praisonai-ts chat "Explain AI" --provider google --model gemini-2.0-flash
```

## Aliases

```bash theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
praisonai-ts providers doctor gemini
# Same as: praisonai-ts providers doctor google
```

## Troubleshooting

### Missing API Key

```bash theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
export GOOGLE_GENERATIVE_AI_API_KEY=AIza...
```

## Related

* [Google Code Usage](/docs/js/providers/google-code)
* [Providers CLI Overview](/docs/js/providers-cli)
