Skip to content

Welcome to Gemini CLI documentation

This documentation provides a comprehensive guide to installing, using, and developing Gemini CLI. This tool lets you interact with Gemini models through a command-line interface.

Gemini CLI brings the capabilities of Gemini models to your terminal in an interactive Read-Eval-Print Loop (REPL) environment. Gemini CLI consists of a client-side application (packages/cli) that communicates with a local server (packages/core), which in turn manages requests to the Gemini API and its AI models. Gemini CLI also contains a variety of tools for tasks such as performing file system operations, running shells, and web fetching, which are managed by packages/core.

This documentation is organized into the following sections:

  • Architecture Overview: Understand the high-level design of Gemini CLI, including its components and how they interact.
  • Contributing & Development Guide: Information for contributors and developers, including setup, building, testing, and coding conventions.
  • NPM: Details on how the project’s packages are structured.
  • Troubleshooting Guide: Find solutions to common problems.
  • FAQ: Frequently asked questions.
  • Terms of Service and Privacy Notice: Information on the terms of service and privacy notices applicable to your use of Gemini CLI.
  • Releases: Information on the project’s releases and deployment cadence.

We hope this documentation helps you make the most of Gemini CLI!