Google Gemini CLI v0.40.0 delivers a practical update focused on reliability, offline usability, configuration correctness, and developer experience. The most notable changes in this version include bundled ripgrep binaries for offline support, expanded retry handling for OpenSSL 3.x streaming SSL errors, protection against unintended YOLO mode downgrades, and fixes to ensure custom Gemini and Vertex base URLs are properly respected.
One of the biggest additions in v0.40.0 is offline support through bundled ripgrep binaries inside the SEA package. This should make local search capabilities more dependable in constrained or disconnected environments, reducing setup friction for developers who rely on the CLI in portable or isolated workflows.
The release also improves streaming stability by retrying additional OpenSSL 3.x SSL errors in the core layer. That matters for users running into intermittent secure connection failures during streaming operations, especially in newer runtime environments where OpenSSL 3.x behavior can surface edge cases.
Another core fix prevents YOLO mode from being downgraded unexpectedly. While the changelog is brief, this suggests tighter handling of execution modes and more predictable behavior for users relying on higher-autonomy workflows.
Configuration handling also gets an important correction in v0.40.0. The CLI now properly honors the GOOGLE_GEMINI_BASE_URL and GOOGLE_VERTEX_BASE_URL environment variables, which is especially useful for enterprise, proxy, hosted gateway, or custom endpoint scenarios.
Beyond runtime fixes, the update includes slash command IDE listener cleanup, new GitHub colorblind themes, a large-conversation performance test scenario, subagent delegation evaluation tests, and changes to require recurrence evidence before extracting skills. Together, these indicate continued investment in usability, accessibility, evaluation quality, and agent behavior safeguards.
For developers and teams using Gemini CLI in production or semi-automated workflows, v0.40.0 is less about flashy new surface features and more about making the tool sturdier. Offline ripgrep bundling reduces dependency headaches, SSL retry improvements should lower disruption during streaming sessions, and base URL fixes improve compatibility with customized deployments.
The supporting test and evaluation updates are also notable because they signal ongoing work around scalability and multi-agent behavior. That makes this release relevant not just as a maintenance update, but as a foundation-setting version for more robust enterprise and agent-assisted CLI usage.
Official Source: https://github.com/google-gemini/gemini-cli/releases/tag/v0.40.0