2025-06-17 22:02:07 -07:00
# Welcome to Gemini CLI documentation
2025-05-15 20:04:33 -07:00
2025-06-17 22:02:07 -07:00
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.
2025-05-15 20:04:33 -07:00
## Overview
2025-06-17 22:02:07 -07:00
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` .
2025-05-15 20:04:33 -07:00
2025-06-17 22:02:07 -07:00
## Navigating the documentation
2025-05-15 20:04:33 -07:00
This documentation is organized into the following sections:
2025-10-01 16:24:29 -07:00
### Get started
- **[Gemini CLI Quickstart ](./get-started/index.md ):** Let's get started with Gemini CLI.
- **[Deployment ](./get-started/deployment.md ):** Install and run Gemini CLI.
- **[Authentication ](./get-started/authentication.md ):** Authenticate Gemini CLI.
- **[Configuration ](./get-started/configuration.md ):** Information on configuring the CLI.
- **[Examples ](./get-started/examples.md ):** Example usage of Gemini CLI.
### CLI
- **[CLI overview ](./cli/index.md ):** Overview of the command-line interface.
- **[Commands ](./cli/commands.md ):** Description of available CLI commands.
- **[Enterprise ](./cli/enterprise.md ):** Gemini CLI for enterprise.
- **[Themes ](./cli/themes.md ):** Themes for Gemini CLI.
- **[Token Caching ](./cli/token-caching.md ):** Token caching and optimization.
- **[Tutorials ](./cli/tutorials.md ):** Tutorials for Gemini CLI.
- **[Checkpointing ](./cli/checkpointing.md ):** Documentation for the checkpointing feature.
- **[Telemetry ](./cli/telemetry.md ):** Overview of telemetry in the CLI.
- **[Trusted Folders ](./cli/trusted-folders.md ):** An overview of the Trusted Folders security feature.
### Core
- **[Gemini CLI core overview ](./core/index.md ):** Information about Gemini CLI core.
- **[Memport ](./core/memport.md ):** Using the Memory Import Processor.
- **[Tools API ](./core/tools-api.md ):** Information on how the core manages and exposes tools.
### Tools
- **[Gemini CLI tools overview ](./tools/index.md ):** Information about Gemini CLI's tools.
- **[File System Tools ](./tools/file-system.md ):** Documentation for the `read_file` and `write_file` tools.
- **[MCP servers ](./tools/mcp-server.md ):** Using MCP servers with Gemini CLI.
- **[Multi-File Read Tool ](./tools/multi-file.md ):** Documentation for the `read_many_files` tool.
- **[Shell Tool ](./tools/shell.md ):** Documentation for the `run_shell_command` tool.
- **[Web Fetch Tool ](./tools/web-fetch.md ):** Documentation for the `web_fetch` tool.
- **[Web Search Tool ](./tools/web-search.md ):** Documentation for the `google_web_search` tool.
- **[Memory Tool ](./tools/memory.md ):** Documentation for the `save_memory` tool.
### Extensions
- **[Extensions ](./extensions/index.md ):** How to extend the CLI with new functionality.
- **[Extension Releasing ](./extensions/extension-releasing.md ):** How to release Gemini CLI extensions.
### IDE integration
- **[IDE Integration ](./ide-integration/index.md ):** Connect the CLI to your editor.
- **[IDE Companion Extension Spec ](./ide-integration/ide-companion-spec.md ):** Spec for building IDE companion extensions.
### About the Gemini CLI project
2025-06-17 22:02:07 -07:00
- **[Architecture Overview ](./architecture.md ):** Understand the high-level design of Gemini CLI, including its components and how they interact.
2025-05-15 20:43:01 -07:00
- **[Contributing & Development Guide ](../CONTRIBUTING.md ):** Information for contributors and developers, including setup, building, testing, and coding conventions.
2025-10-01 16:24:29 -07:00
- **[NPM ](./npm.md ):** Details on how the project's packages are structured.
- **[Troubleshooting Guide ](./troubleshooting.md ):** Find solutions to common problems.
- **[FAQ ](./faq.md ):** Frequently asked questions.
2025-06-25 12:32:25 -07:00
- **[Terms of Service and Privacy Notice ](./tos-privacy.md ):** Information on the terms of service and privacy notices applicable to your use of Gemini CLI.
2025-08-19 20:55:34 -07:00
- **[Releases ](./releases.md ):** Information on the project's releases and deployment cadence.
2025-05-15 20:04:33 -07:00
2025-10-01 16:24:29 -07:00
We hope this documentation helps you make the most of Gemini CLI!