APIshop Documentation
Deployment Guide

Gemini CLI Deployment Guide

A unified integration workflow for Google Gemini CLI, suitable for command-line development scenarios.

资源地址
Official Documentationhttps://geminicli.com/docs/

核心能力

  • Supports Gemini model services through APIshop
  • Suitable for local development and Agent mode use
步骤 1

Install Gemini CLI

  • - Run `npm install -g @google/gemini-cli`.
  • - Verify that the installation succeeded with `gemini --version`.
步骤 2

Configure APIshop

  • - Set `GOOGLE_GEMINI_BASE_URL` in `~/.gemini/.env`.
  • - Enter your Gemini API Key and model name.
  • - To customize the security policy, add entries to `settings.json`.
步骤 3

Get started

  • - Run `gemini` to enter the CLI.
  • - Confirm that the model and network access are working properly.

注意事项

  • - Gemini CLI and Claude Code / Codex token configurations need to be managed separately.