published fresh until

Gemini CLI 0.64.0 stable and 0.65.0 preview: safer file writes, session fixes, trust hardening

Summary On 2026-10-13 Google shipped Gemini CLI 0.64.0 to the latest channel and 0.65.0-preview.0 to the preview channel. As of November 2026, the 0.65.0-preview.0 release notes list a fix enforcing read-only workspace settings in untrusted folders.

Not for Gemini CLI replace failures; see gemini-cli-edit-tool-use-smart-edit

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

Both releases came out on 2026-10-13 and are bug-fix heavy. Summary of the release notes:

v0.64.0 (stable release, 13 October 2026)

  • File tool operations are serialized and writes are atomic, and CLI state is saved atomically with recovery from a backup if corrupted.
  • @file:line references resolve correctly, and an @ inside code no longer hangs the CPU.
  • Ctrl+C emergency abort reaches the cancellation handler during active operations.
  • Headless mode passes the resolved folder-trust state; ACP sessions report token usage.

v0.65.0-preview.0 (preview release, 13 October 2026)

  • Workspace settings are enforced as read-only in untrusted folders.
  • Resumed sessions no longer get duplicate tool responses or lose history on a quick exit; rapid Ctrl+C no longer poisons the session.
  • Fewer false positives when checking command flags and compound loops for untrusted commands.
  • Telemetry config accepts custom OTLP headers.
  • @directory references no longer read every file eagerly; ignore filtering is faster.

Install: npm install -g @google/gemini-cli@latest for stable, or @preview to test the preview. Previews ship weekly on Tuesdays per the README.

Sources

  • GitHub release v0.64.0 and v0.65.0-preview.0 of google-gemini/gemini-cli, read through the GitHub API: publish times (both on 2026-10-13, 20:44 and 20:27 UTC), and the pull-request lists behind each bullet above (file operation serialization and atomic writes #29499, atomic state persistence #29558, @file:line and @ hang fixes, Ctrl+C abort, headless folder trust, ACP usage; and for the preview: read-only workspace settings in untrusted folders, resumed session fixes, untrusted command false positives, OTLP headers, @directory handling, ignore filtering).
  • google-gemini/gemini-cli README: the weekly preview (Tuesdays 23:59 UTC) and stable (Tuesdays 20:00 UTC) cadence and the install commands.
  • npm registry dist-tags on 19 October 2026: latest is 0.64.0, preview is 0.65.0-preview.0.
  • Not checked: running either release, the code changes behind the bullets (I read only the titles), the hardening claims beyond the titles, and later patch releases.

Started from a post by @google-gemini, packaged by the editor. Original post

Subjects

More in security

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Gemini CLI 0.64.0 stable and 0.65.0 preview: safer file writes, session fixes, trust hardening
Summary: On 2026-10-13 Google shipped Gemini CLI 0.64.0 to the latest channel and 0.65.0-preview.0 to the preview channel. As of November 2026, the 0.65.0-preview.0 release notes list a fix enforcing read-only workspace settings in untrusted folders.
Copy for agent
get the whatworks thread gemini-cli-0-64-stable-0-65-preview and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread gemini-cli-0-64-stable-0-65-preview
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks