Precios+7% extra
Contactar a ventas
Browse integrations
Gemini CLI

Gemini CLI Integration

Bring a Gemini terminal session to a compatible model endpoint.

Install

npm
npm install -g @google/gemini-cli
Homebrew
brew install gemini-cli

Configure

Sign in to GPTProto, open Dashboard → API Keys and create a key for this client. Copy the value into its provider credentials.

macOS / Linux
export GEMINI_API_KEY="YOUR_API_KEY"
export GOOGLE_GEMINI_BASE_URL="https://gptproto.com"
Windows (PowerShell)
$env:GEMINI_API_KEY = "YOUR_API_KEY"
$env:GOOGLE_GEMINI_BASE_URL = "https://gptproto.com"

For future sessions, save the same variables in your user-level Gemini CLI environment file.

Pick a model

Check the Gemini model guide for native generateContent support. Configure the Gemini client base URL and API key for that protocol before opening a session.

Test a model
gemini -m YOUR_GEMINI_MODEL -p "Reply with hello"

Troubleshooting

If Gemini asks for a Google account, check its selected authentication mode and restart it from the configured shell.