Files
gemini-cli/docs/index.md
2026-02-17 19:34:21 -08:00

6.7 KiB

Gemini CLI documentation

Gemini CLI brings the power of Gemini models directly into your terminal. Use it to understand code, automate tasks, and build workflows with your local project context.

Install

npm install -g @google/gemini-cli

Get started

Use Gemini CLI

Features

  • Agent Skills: Extend the capabilities of Gemini CLI with custom skills.
  • Authentication: Learn about the different authentication methods.
  • Checkpointing: Automatically save and restore your sessions.
  • Extensions: Extend the functionality of Gemini CLI with extensions.
  • Headless mode: Run Gemini CLI in a non-interactive mode.
  • Hooks: Customize the behavior of Gemini CLI with hooks.
  • IDE integration: Integrate Gemini CLI with your favorite IDE.
  • MCP servers: Connect to Model-Context Protocol servers.
  • Model routing: Automatically route requests to the best model.
  • Model selection: Learn how to select the right model for your task.
  • Plan mode (experimental): Plan and review changes before they are executed.
  • Rewind: Rewind the conversation to a previous point.
  • Sandboxing: Isolate tool execution in a sandboxed environment.
  • Settings: Customize the behavior of Gemini CLI.
  • Telemetry: Understand the usage data that Gemini CLI collects.
  • Token caching: Cache tokens to improve performance.

Configuration

Extensions

Development

Reference

Resources

Changelog