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

# Gemini CLI

> Gemini CLI integration notes for ModelStack

## Overview

Gemini CLI is Google's CLI experience for Gemini ecosystem workflows.

## Installation

```bash theme={null}
npm install -g @google/gemini-cli
```

or

```bash theme={null}
brew install gemini-cli
```

## ModelStack Compatibility

Gemini CLI generally uses Google-authenticated infrastructure and does not provide standard arbitrary OpenAI-compatible base URL routing in common setups.

<Warning>
  If your Gemini CLI build does not expose a custom provider endpoint option, direct ModelStack routing is not available.
</Warning>

## Recommended Alternative

If you want Gemini-class models through ModelStack with unified billing and routing, use an OpenAI-compatible client such as:

* Cursor
* Continue
* Cline
* Roo Code
* Aider
* Zed

***

*Last verified: 2026-03-07*


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