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:
packages/cli.
packages/core.
read_file and write_file tools.read_many_files tool.run_shell_command tool.web_fetch tool.google_web_search tool.save_memory tool.We hope this documentation helps you make the most of the Gemini CLI!