---
title: "Gemini CLI v0.65.0 | Havoptic"
description: "Gemini CLI v0.65.0 tightens security so workspace settings stay read-only in untrusted folders, and fixes several session issues, including duplicate tool responses when resuming and lost history on q..."
image: "https://dev.havoptic.com/og-image.jpg"
---

# Gemini CLI v0.65.0

Gemini CLI v0.65.0 was released on October 20, 2026.

## Summary

Gemini CLI v0.65.0 tightens security so workspace settings stay read-only in untrusted folders, and fixes several session issues, including duplicate tool responses when resuming and lost history on quick exit. It also smooths out terminal behavior when expanding output with C...

## Release Context

- This was the 82nd Gemini CLI release of 2026 tracked by Havoptic.
- It shipped 7 days after [Gemini CLI v0.64.0](https://dev.havoptic.com/r/gemini-cli-v0.64.0) (October 13, 2026).

### Shipped around the same time

Within 3 days of this release, other AI coding tools also shipped:

- [Grok Build v1.0.70](https://dev.havoptic.com/r/grok-build-1.0.70) (October 23, 2026)
- [Zed v1.25.3](https://dev.havoptic.com/r/zed-1.25.3) (October 23, 2026)
- [OpenAI Codex CLI rust-v0.164.0](https://dev.havoptic.com/r/openai-codex-rust-v0.164.0) (October 23, 2026)
- [Antigravity CLI v1.4.6](https://dev.havoptic.com/r/antigravity-cli-1.4.6) (October 23, 2026)
- [Grok Build v1.0.69](https://dev.havoptic.com/r/grok-build-1.0.69) (October 23, 2026)

### Compare Gemini CLI

- [Gemini CLI vs Claude Code](https://dev.havoptic.com/compare/claude-code-vs-gemini-cli)
- [Gemini CLI vs OpenAI Codex CLI](https://dev.havoptic.com/compare/gemini-cli-vs-openai-codex)
- [Gemini CLI vs Cursor](https://dev.havoptic.com/compare/cursor-vs-gemini-cli)
- [Gemini CLI vs Kiro CLI](https://dev.havoptic.com/compare/gemini-cli-vs-kiro)
- [Gemini CLI vs GitHub Copilot CLI](https://dev.havoptic.com/compare/gemini-cli-vs-github-copilot)
- [Gemini CLI vs Devin Desktop](https://dev.havoptic.com/compare/gemini-cli-vs-windsurf)
- [Gemini CLI vs Antigravity CLI](https://dev.havoptic.com/compare/antigravity-cli-vs-gemini-cli)
- [Gemini CLI vs Grok Build](https://dev.havoptic.com/compare/gemini-cli-vs-grok-build)
- [Gemini CLI vs Cline](https://dev.havoptic.com/compare/cline-vs-gemini-cli)
- [Gemini CLI vs OpenCode](https://dev.havoptic.com/compare/gemini-cli-vs-opencode)
- [Gemini CLI vs Zed](https://dev.havoptic.com/compare/gemini-cli-vs-zed)
- [Gemini CLI vs Factory Droid](https://dev.havoptic.com/compare/factory-droid-vs-gemini-cli)
- [Gemini CLI vs Devin](https://dev.havoptic.com/compare/devin-vs-gemini-cli)
- [Gemini CLI vs Lovable](https://dev.havoptic.com/compare/gemini-cli-vs-lovable)
- [Gemini CLI vs Amp](https://dev.havoptic.com/compare/amp-vs-gemini-cli)
- [Gemini CLI vs GitHub Copilot in VS Code](https://dev.havoptic.com/compare/copilot-vscode-vs-gemini-cli)
- [Gemini CLI vs Replit Agent](https://dev.havoptic.com/compare/gemini-cli-vs-replit-agent)
- [Gemini CLI vs Bolt](https://dev.havoptic.com/compare/bolt-vs-gemini-cli)
- [Gemini CLI vs v0](https://dev.havoptic.com/compare/gemini-cli-vs-v0)

## Release Notes

What's Changed fix(cli): enforce read-only workspace settings in untrusted folders by @jvargassanchez-dot in https://github.com/google-gemini/gemini-cli/pull/29583 fix(core): avoid duplicate tool response turns when resuming sessions by @diegogodinezr in https://github.com/google-gemini/gemini-cli/pull/29618 fix(core): prevent deletion of resumed session history on quick exit (29198) by @villahernandez-coder in https://github.com/google-gemini/gemini-cli/pull/29584 Changelog for v0.64.0-preview.0 by @gemini-cli-robot in https://github.com/google-gemini/gemini-cli/pull/29656 Changelog for v0.63.0 by @gemini-cli-robot in https://github.com/google-gemini/gemini-cli/pull/29659 fix(core): align OAuth callback iss parameter validation with RFC 9207 metadata by @luisfelipe-alt in https://github.com/google-gemini/gemini-cli/pull/29616 fix(cli): prevent unnecessary terminal clears and scroll resets when expanding with Ctrl+O by @jesussamuel-byte in https://github.com/google-gemini/gemini-cli/pull/29640 chore(release): bump version to 0.65.0-nightly.20261006.gfb972b2f8 by @gemini-cli-robot in https://github.com/google-gemini/gemini-cli/pull/29657 fix(ci): add missing loop in unassign-inactive-assignees workflow by @ugorla-dev in https://github.com/google-gemini/gemini-cli/pull/29609 fix(core): enforce terminal user turn invariant and normalize request contents by @luisfelipe-alt in https://github.com/google-gemini/gemini-cli/pull/29612 feat(telemetry): support custom OTLP headers in telemetry configuration by @jesussamuel-byte in https://github.com/google-gemini/gemini-cli/pull/29641 fix(auth): prevent infinite verification and OAuth retry loops by @villahernandez-coder in https://github.com/google-gemini/gemini-cli/pull/29655 fix(cli): handle JSON parse and response stream errors in fetchJson by @jesussamuel-byte in https://github.com/google-gemini/gemini-cli/pull/29658 fix(core): preserve line terminators in truncateString by @diegogodinezr in https://github.com/google-gemini/gemini-cli/pull/29673 fix(vscode-ide-companion): make IdeServer.stop() resolve while MCP sessions are open by @elberthc-byte in https://github.com/google-gemini/gemini-cli/pull/29674 fix(core): retain askuser question text in the tool result display by @elberthc-byte in https://github.com/google-gemini/gemini-cli/pull/29677 fix(core): eliminate false positives on untrusted command flags and compound loops by @DavidAPierce in https://github.com/google-gemini/gemini-cli/pull/29672 fix(cli): clear cached credentials when re-selecting Google login by @urielefrenvirtusa in https://github.com/google-gemini/gemini-cli/pull/29643 fix(cli): resolve hang on Enter keypress in interactive mode (23297) by @elberthc-byte in https://github.com/google-gemini/gemini-cli/pull/29476 perf(core): optimize ignore filtering and enable subtree pruning (29077) by @amelidev in https://github.com/google-gemini/gemini-cli/pull/29582 fix(a2a-server): isolate tool rejection to active call in sequential batches by @jvargassanchez-dot in https://github.com/google-gemini/gemini-cli/pull/29683 fix(cli): skip eager recursive file reading for @<directory> references by @jvargassanchez-dot in https://github.com/google-gemini/gemini-cli/pull/29617 fix(cli): keep loading other extensions when one fails the allowlist check by @jesussamuel-byte in https://github.com/google-gemini/gemini-cli/pull/29720 fix(cli): correct reverse search highlight index for expanding unicode characters by @diegogodinezr in https://github.com/google-gemini/gemini-cli/pull/29699 fix(core): treat whitespace-only UTF-16 and UTF-32 files as empty by @jesussamuel-byte in https://github.com/google-gemini/gemini-cli/pull/29722 fix(cli): restore debounced static UI refresh on terminal width changes by @jvargassanchez-dot in https://github.com/google-gemini/gemini-cli/pull/29644 fix(cli): prevent session poisoning on rapid Ctrl-C interruption by @villahernandez-coder in https://github.com/google-gemini/gemini-cli/pull/29728 Full Changelog: https://github.com/google-gemini/gemini-cli/compare/v0.64.0...v0.65.0

[View original release](https://github.com/google-gemini/gemini-cli/releases/tag/v0.65.0)

## Other Recent Gemini CLI Releases

- [v0.71.1](https://dev.havoptic.com/r/gemini-cli-v0.71.1) (November 24, 2026)
- [v0.71.0](https://dev.havoptic.com/r/gemini-cli-v0.71.0) (November 24, 2026)
- [v0.70.0](https://dev.havoptic.com/r/gemini-cli-v0.70.0) (November 19, 2026)
- [v0.69.0](https://dev.havoptic.com/r/gemini-cli-v0.69.0) (November 19, 2026)
- [v0.68.0](https://dev.havoptic.com/r/gemini-cli-v0.68.0) (November 10, 2026)

Upgrading from v0.65.0? [See all 7 releases since](https://dev.havoptic.com/r/gemini-cli/diff?from=v0.65.0&to=latest).

[All Gemini CLI releases](https://dev.havoptic.com/tools/gemini-cli) · [All AI coding tool releases on Havoptic](https://dev.havoptic.com/)

```json
{
  "@context": "https://schema.org",
  "@type": "WebSite",
  "name": "Havoptic",
  "alternateName": "Havoptic AI Tool Releases",
  "url": "https://www.havoptic.com/",
  "description": "Havoptic tracks every release of 20 AI coding tools, from Claude Code and Codex CLI to Cursor and Copilot CLI, and explains each one in plain English within hours of shipping.",
  "publisher": {
    "@type": "Organization",
    "name": "Havoptic",
    "url": "https://www.havoptic.com/"
  },
  "potentialAction": {
    "@type": "SearchAction",
    "target": "https://www.havoptic.com/?q={search_term_string}",
    "query-input": "required name=search_term_string"
  }
}
```

```json
{
  "@context": "https://schema.org",
  "@type": "SoftwareApplication",
  "name": "Havoptic",
  "applicationCategory": "DeveloperApplication",
  "operatingSystem": "Web",
  "offers": {
    "@type": "Offer",
    "price": "0",
    "priceCurrency": "USD"
  },
  "description": "Havoptic tracks every release of 20 AI coding tools, from Claude Code and Codex CLI to Cursor and Copilot CLI, and explains each one in plain English within hours of shipping."
}
```

```json
{
  "@context": "https://schema.org",
  "@type": "Organization",
  "@id": "https://www.havoptic.com/#organization",
  "name": "Havoptic",
  "url": "https://www.havoptic.com/",
  "logo": {
    "@type": "ImageObject",
    "url": "https://www.havoptic.com/og-image.jpg",
    "width": 1200,
    "height": 630
  },
  "description": "Release tracking, plain-English release notes and side-by-side comparisons for AI coding tools, updated hourly.",
  "foundingDate": "2025",
  "sameAs": [
    "https://github.com/scotthavird/havoptic.com",
    "https://x.com/havoptic"
  ],
  "founder": {
    "@id": "https://www.havoptic.com/authors/scott-havird#person"
  }
}
```

```json
{
  "@context": "https://schema.org",
  "@type": "DataCatalog",
  "@id": "https://www.havoptic.com/#data-catalog",
  "name": "Havoptic AI Coding Tool Release Data",
  "description": "Every release of 20 AI coding tools, dated and explained in plain English within hours of shipping, plus feature comparison matrices, free to query through an API, an MCP server, feeds and a CLI. Covers Claude Code, OpenAI Codex CLI, Cursor, Gemini CLI, Kiro, GitHub Copilot CLI, Devin Desktop, Antigravity CLI, Grok Build, Cline, OpenCode, Zed, Factory Droid, Devin (cloud agent), Lovable, Amp, GitHub Copilot in VS Code, Replit Agent, Bolt, and v0.",
  "url": "https://www.havoptic.com/api-docs",
  "publisher": {
    "@type": "Organization",
    "name": "Havoptic",
    "url": "https://www.havoptic.com/"
  },
  "dataset": [
    {
      "@type": "Dataset",
      "@id": "https://www.havoptic.com/data/releases.json",
      "name": "AI Coding Tool Releases",
      "description": "Complete release history for Claude Code, OpenAI Codex CLI, Cursor, Gemini CLI, Kiro, GitHub Copilot CLI, Devin Desktop, Antigravity CLI, Grok Build, Cline, OpenCode, Zed, Factory Droid, Devin (cloud agent), Lovable, Amp, GitHub Copilot in VS Code, Replit Agent, Bolt, and v0 — including version numbers, release dates, plain-English summaries, and full changelogs. Updated hourly.",
      "url": "https://www.havoptic.com/data/releases.json",
      "distribution": {
        "@type": "DataDownload",
        "encodingFormat": "application/json",
        "contentUrl": "https://www.havoptic.com/data/releases.json"
      },
      "temporalCoverage": "2025/..",
      "creator": {
        "@id": "https://www.havoptic.com/#organization"
      },
      "maintainer": {
        "@type": "Organization",
        "name": "Havoptic",
        "url": "https://www.havoptic.com/"
      },
      "isAccessibleForFree": true,
      "license": "https://creativecommons.org/licenses/by/4.0/",
      "keywords": [
        "Claude Code",
        "OpenAI Codex CLI",
        "Cursor",
        "Gemini CLI",
        "Kiro",
        "GitHub Copilot CLI",
        "Devin Desktop",
        "Windsurf",
        "Antigravity CLI",
        "Grok Build",
        "Cline",
        "OpenCode",
        "Zed",
        "Factory Droid",
        "Devin (cloud agent)",
        "Lovable",
        "Amp",
        "GitHub Copilot in VS Code",
        "Replit Agent",
        "Bolt",
        "v0",
        "AI coding tools",
        "release history",
        "changelogs"
      ]
    },
    {
      "@type": "Dataset",
      "@id": "https://www.havoptic.com/data/feature-matrix.json",
      "name": "AI Coding Tool Feature Matrix",
      "description": "Side-by-side feature comparison data for 20 AI coding tools across categories: Core Editing, Terminal Integration, MCP Support, IDE Integrations, and Agentic Features.",
      "url": "https://www.havoptic.com/data/feature-matrix.json",
      "distribution": {
        "@type": "DataDownload",
        "encodingFormat": "application/json",
        "contentUrl": "https://www.havoptic.com/data/feature-matrix.json"
      },
      "creator": {
        "@id": "https://www.havoptic.com/#organization"
      },
      "maintainer": {
        "@type": "Organization",
        "name": "Havoptic",
        "url": "https://www.havoptic.com/"
      },
      "isAccessibleForFree": true,
      "license": "https://creativecommons.org/licenses/by/4.0/",
      "keywords": [
        "AI coding tools",
        "feature comparison",
        "Claude Code",
        "Cursor",
        "GitHub Copilot",
        "Gemini CLI",
        "Devin Desktop",
        "Windsurf"
      ]
    }
  ]
}
```

```json
{
  "@context": "https://schema.org",
  "@type": "BreadcrumbList",
  "itemListElement": [
    {
      "@type": "ListItem",
      "position": 1,
      "name": "Home",
      "item": "https://dev.havoptic.com"
    },
    {
      "@type": "ListItem",
      "position": 2,
      "name": "Gemini CLI",
      "item": "https://dev.havoptic.com/tools/gemini-cli"
    },
    {
      "@type": "ListItem",
      "position": 3,
      "name": "v0.65.0",
      "item": "https://dev.havoptic.com/r/gemini-cli-v0.65.0"
    }
  ]
}
```

```json
{
  "@context": "https://schema.org",
  "@type": "TechArticle",
  "headline": "Gemini CLI v0.65.0",
  "datePublished": "2026-10-20T21:17:57.000Z",
  "dateModified": "2026-10-20T21:17:57.000Z",
  "url": "https://dev.havoptic.com/r/gemini-cli-v0.65.0",
  "image": "https://dev.havoptic.com/og-image.jpg",
  "description": "Gemini CLI v0.65.0 tightens security so workspace settings stay read-only in untrusted folders, and fixes several session issues, including duplicate tool responses when resuming and lost history on q...",
  "isBasedOn": "https://github.com/google-gemini/gemini-cli/releases/tag/v0.65.0",
  "about": {
    "@type": "SoftwareApplication",
    "name": "Gemini CLI",
    "softwareVersion": "v0.65.0",
    "applicationCategory": "DeveloperApplication",
    "url": "https://github.com/google-gemini/gemini-cli/releases/tag/v0.65.0",
    "releaseNotes": "What's Changed fix(cli): enforce read-only workspace settings in untrusted folders by @jvargassanchez-dot in https://github.com/google-gemini/gemini-cli/pull/29583 fix(core): avoid duplicate tool response turns when resuming sessions by @diegogodinezr in https://github.com/google-gemini/gemini-cli/pull/29618 fix(core): prevent deletion of resumed session history on quick exit (29198) by @villahernandez-coder in https://github.com/google-gemini/gemini-cli/pull/29584 Changelog for v0.64.0-preview.0 by @gemini-cli-robot in https://github.com/google-gemini/gemini-cli/pull/29656 Changelog for v0.63.0 by @gemini-cli-robot in https://github.com/google-gemini/gemini-cli/pull/29659 fix(core): align OAuth callback iss parameter validation with RFC 9207 metadata by @luisfelipe-alt in https://github.com/google-gemini/gemini-cli/pull/29616 fix(cli): prevent unnecessary terminal clears and scroll resets when expanding with Ctrl+O by @jesussamuel-byte in https://github.com/google-gemini/gemini-cli/pull/29640 chore(release): bump version to 0.65.0-nightly.20261006.gfb972b2f8 by @gemini-cli-robot in https://github.com/google-gemini/gemini-cli/pull/29657 fix(ci): add missing loop in unassign-inactive-assignees workflow by @ugorla-dev in https://github.com/google-gemini/gemini-cli/pull/29609 fix(core): enforce terminal user turn invariant and normalize request contents by @luisfelipe-alt in https://github.com/google-gemini/gemini-cli/pull/29612 feat(telemetry): support custom OTLP headers in telemetry configuration by @jesussamuel-byte in https://github.com/google-gemini/gemini-cli/pull/29641 fix(auth): prevent infinite verification and OAuth retry loops by @villahernandez-coder in https://github.com/google-gemini/gemini-cli/pull/29655 fix(cli): handle JSON parse and response stream errors in fetchJson by @jesussamuel-byte in https://github.com/google-gemini/gemini-cli/pull/29658 fix(core): preserve line terminators in truncateString by @diegogodinezr in https://github.com/google-gemi"
  },
  "articleBody": "What's Changed fix(cli): enforce read-only workspace settings in untrusted folders by @jvargassanchez-dot in https://github.com/google-gemini/gemini-cli/pull/29583 fix(core): avoid duplicate tool response turns when resuming sessions by @diegogodinezr in https://github.com/google-gemini/gemini-cli/pull/29618 fix(core): prevent deletion of resumed session history on quick exit (29198) by @villahernandez-coder in https://github.com/google-gemini/gemini-cli/pull/29584 Changelog for v0.64.0-preview.0 by @gemini-cli-robot in https://github.com/google-gemini/gemini-cli/pull/29656 Changelog for v0.63.0 by @gemini-cli-robot in https://github.com/google-gemini/gemini-cli/pull/29659 fix(core): align OAuth callback iss parameter validation with RFC 9207 metadata by @luisfelipe-alt in https://github.com/google-gemini/gemini-cli/pull/29616 fix(cli): prevent unnecessary terminal clears and scroll resets when expanding with Ctrl+O by @jesussamuel-byte in https://github.com/google-gemini/gemini-cli/pull/29640 chore(release): bump version to 0.65.0-nightly.20261006.gfb972b2f8 by @gemini-cli-robot in https://github.com/google-gemini/gemini-cli/pull/29657 fix(ci): add missing loop in unassign-inactive-assignees workflow by @ugorla-dev in https://github.com/google-gemini/gemini-cli/pull/29609 fix(core): enforce terminal user turn invariant and normalize request contents by @luisfelipe-alt in https://github.com/google-gemini/gemini-cli/pull/29612 feat(telemetry): support custom OTLP headers in telemetry configuration by @jesussamuel-byte in https://github.com/google-gemini/gemini-cli/pull/29641 fix(auth): prevent infinite verification and OAuth retry loops by @villahernandez-coder in https://github.com/google-gemini/gemini-cli/pull/29655 fix(cli): handle JSON parse and response stream errors in fetchJson by @jesussamuel-byte in https://github.com/google-gemini/gemini-cli/pull/29658 fix(core): preserve line terminators in truncateString by @diegogodinezr in https://github.com/google-gemini/gemini-cli/pull/29673 fix(vscode-ide-companion): make IdeServer.stop() resolve while MCP sessions are open by @elberthc-byte in https://github.com/google-gemini/gemini-cli/pull/29674 fix(core): retain askuser question text in the tool result display by @elberthc-byte in https://github.com/google-gemini/gemini-cli/pull/29677 fix(core): eliminate false positives on untrusted command flags and compound loops by @DavidAPierce in https://github.com/google-gemini/gemini-cli/pull/29672 fix(cli): clear cached credentials when re-selecting Google login by @urielefrenvirtusa in https://github.com/google-gemini/gemini-cli/pull/29643 fix(cli): resolve hang on Enter keypress in interactive mode (23297) by @elberthc-byte in https://github.com/google-gemini/gemini-cli/pull/29476 perf(core): optimize ignore filtering and enable subtree pruning (29077) by @amelidev in https://github.com/google-gemini/gemini-cli/pull/29582 fix(a2a-server): isolate tool rejection to active call in sequential batches by @jvargassanchez-dot in https://github.com/google-gemini/gemini-cli/pull/29683 fix(cli): skip eager recursive file reading for @<directory> references by @jvargassanchez-dot in https://github.com/google-gemini/gemini-cli/pull/29617 fix(cli): keep loading other extensions when one fails the allowlist check by @jesussamuel-byte in https://github.com/google-gemini/gemini-cli/pull/29720 fix(cli): correct reverse search highlight index for expanding unicode characters by @diegogodinezr in https://github.com/google-gemini/gemini-cli/pull/29699 fix(core): treat whitespace-only UTF-16 and UTF-32 files as empty by @jesussamuel-byte in https://github.com/google-gemini/gemini-cli/pull/29722 fix(cli): restore debounced static UI refresh on terminal width changes by @jvargassanchez-dot in https://github.com/google-gemini/gemini-cli/pull/29644 fix(cli): prevent session poisoning on rapid Ctrl-C interruption by @villahernandez-coder in https://github.com/google-gemini/gemini-cli/pull/29728 Full Changelog: https://github.com/google-gemini/gemini-cli/compare/v0.64.0...v0.65.0",
  "author": {
    "@id": "https://dev.havoptic.com/#organization"
  },
  "publisher": {
    "@id": "https://dev.havoptic.com/#organization"
  },
  "mainEntityOfPage": {
    "@type": "WebPage",
    "@id": "https://dev.havoptic.com/r/gemini-cli-v0.65.0"
  },
  "speakable": {
    "@type": "SpeakableSpecification",
    "cssSelector": [
      "h1",
      "#ssr-content p"
    ]
  }
}
```
