Gemini CLI

Use Gemini CLI to call Google Gemini models from the terminal.

One-click setup with our desktop client
Download the XycAi client to install and configure everything automatically — no manual steps needed.
Set up now →

1. Install

npm install -g @google/gemini-cli

2. Configure

export GEMINI_BASE_URL="https://apicdn.xyc.ai"
export GEMINI_API_KEY="your-api-key"

3. Use

gemini -p "Summarize what this code does"