Google Developers Blog logoGoogle Developers Blog
|DevOps

Making Gemini CLI extensions easier to use

2026-02-11
1 min read
1

Endigest AI Core Summary

This article introduces extension settings for Gemini CLI, a new feature that automates extension configuration by prompting users for required values at installation time.

  • Extension authors define required settings (API keys, base URLs, project IDs) in gemini-extension.json using a settings array with name, description, envVar, and optional sensitive fields
  • Users are automatically prompted to provide values during installation, eliminating the need to manually export environment variables
  • Sensitive settings such as API keys and passwords are stored in the system keychain rather than plain text files
  • The new `gemini extensions config` command enables post-installation management, supporting both full interactive reconfiguration and targeted single-variable updates
  • Workspace scope (`--scope workspace`) allows project-specific configuration overrides independent of global settings