Overview
Type: Coding ToolPrimary Path: Gemini-nativeSupport Confidence: Best-effort
System Requirements
- Node.js: Version 20.0+
- OS: Windows 10/11, macOS 10.15+, Ubuntu 20.04+, or Debian 10+
Installation
Configuration
Step 1: Get Your API Key
- Log into LemonData Dashboard
- Navigate to API Keys
- Create and copy your API key (format:
sk-...)
Step 2: Set Environment Variables
The following setup is the current compatibility path people use with proxy or gateway endpoints, but it is not a stable upstream contract: Temporary (current session):- Bash
- Zsh
- Fish
Known limitation: Gemini CLI may ignore
GOOGLE_GEMINI_BASE_URL in some situations, especially when an existing Google login or cached auth flow takes precedence. If this happens, start a fresh terminal session, clear cached auth, or use another client.Basic Usage
Start Gemini CLI from your project directory:- Choose a theme
- Confirm safety notice
- Trust the working directory
Available Models
| Model | Description |
|---|---|
gemini-2.5-pro | Most capable Gemini model |
gemini-2.5-flash | Fast, efficient for most tasks |
gemini-2.0-flash | Previous generation, stable |
Common Commands
Ask a question:Verify Configuration
Troubleshooting
Connection Error
Connection Error
- Verify
GOOGLE_GEMINI_BASE_URLis set tohttps://api.lemondata.cc - Note: Do not add
/v1for this compatibility path - Check network connectivity
Authentication Failed
Authentication Failed
- Verify
GEMINI_API_KEYenvironment variable is set - Check that the key starts with
sk- - Ensure the key is active in LemonData dashboard
Model Not Available
Model Not Available
- Check Gemini models availability at lemondata.cc/en/models
- Try a different Gemini model variant
Need a more stable coding workflow
Need a more stable coding workflow
- Gemini CLI’s custom gateway compatibility can regress between releases
- Prefer Codex CLI, Claude Code, or OpenCode if you need a documented LemonData path
Best Practices
Use in project directory
Use in project directory
Always run Gemini CLI from your project root for better context understanding.
Trust directories carefully
Trust directories carefully
Only trust directories you own. Gemini CLI can read and modify files.
Review generated code
Review generated code
Always review AI-generated code before committing to your project.