Gemini CLI

Gemini CLI: turn off usage statistics and telemetry

How do I disable Gemini CLI telemetry?

Set privacy.usageStatisticsEnabled to false in ~/.gemini/settings.json to stop usage statistics, and keep telemetry.enabled false (it can also be set with GEMINI_TELEMETRY_ENABLED).

Settings

~/.gemini/settings.json

{
  "privacy": { "usageStatisticsEnabled": false },
  "telemetry": { "enabled": false }
}

Project settings in .gemini/settings.json override user settings, and environment variables and command-line flags override both.

Sources

More on Gemini CLI

Other guides

Get the weekly agent stack update

New official MCP servers, spec changes and harness releases, checked against the source. One email a week, no fluff.

Reviewed Oct 6, 2026. Settings change often; the linked vendor docs are the source of truth.