2.2 KiB
Welcome to the Gemini CLI Documentation
This documentation provides a comprehensive guide to installing, using, and developing the Gemini CLI tool. Gemini CLI allows you to interact with Gemini models through a powerful and flexible command-line interface.
Overview
The Gemini CLI is a tool designed to bring the capabilities of Gemini models to your terminal. It consists of a client-side application (packages/cli
) that communicates with a local server (packages/server
), which in turn interacts with the Gemini API. The CLI supports a variety of tools for file system operations, code execution, web fetching, and more, enhancing your workflow with AI-powered assistance.
Navigating the Documentation
This documentation is organized into the following sections:
- Architecture Overview: Understand the high-level design of the Gemini CLI, including its core components and how they interact.
- CLI Usage:
- CLI Introduction: An overview of the command-line interface.
- Commands: Detailed descriptions of all available CLI commands.
- Configuration: How to configure the CLI.
- Server Details:
- Server Introduction: An overview of the server component.
- Configuration: How to configure the server.
- Tools API: Information on how the server manages and exposes tools.
- Tools:
- Tools Overview: A general look at the available tools.
- File System Tools: Documentation for tools like
read_file
,write_file
, etc. - Shell Tool: Using the
execute_bash_command
tool. - Web Fetch Tool: Using the
web_fetch
tool. - Multi-File Read Tool: Using the
read_many_files
tool.
- Contributing & Development Guide: Information for contributors and developers, including setup, building, testing, and coding conventions.
- Troubleshooting Guide: Find solutions to common problems and FAQs.
We hope this documentation helps you make the most of the Gemini CLI!