Gemini CLI v0.45.0 Changelog
What changed in Gemini CLI v0.45.0, released 2026-06-03 β explained in plain English.
- Enhanced Stability: Fixes crashes, endless loops, and errors related to terminal resizing, Termux usage, and Vim keyboard shortcuts.
- New Features: Introduces token usage metadata for audio-to-audio conversations and simplifies how the AI tracks chat history context.
- Bug Fixes & Security: Cleans up resumed chat histories, resolves background routing errors, and patches a security loophole in the Model Context Protocol (MCP).
Want a heads-up when Gemini CLI updates?
We email you the moment a new Gemini CLI version drops β plus plain-English release notes like these. No spam.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
This release of the Gemini Command Line Interface (CLI)βa tool that lets you talk to Gemini directly from your computer's terminalβfocuses on making the app much more stable and reliable. If you use Gemini on your phone via Termux, use Vim keyboard shortcuts, or frequently resize your terminal window, this update is a big deal for you because it cleans up several background errors, crashes, and loops.
What's new
- Audio-to-Audio Usage Data: When using audio-to-audio features, the tool now shows "usage metadata." This is a fancy way of saying it tells you exactly how many "tokens" (the basic units of data the AI uses to process language) you consumed during your conversation.
- Simpler Context: The developers finished a project to simplify "context"βwhich is the background information and chat history the AI keeps track of to understand your conversation.
Improvements
- Better Auto-Routing: The system got an upgrade in how it automatically routes your requests, making sure your prompts get sent to the right place behind the scenes more efficiently.
Fixes
- Termux Loop Fix: If you use Termux (an app that lets you run a terminal on Android), resizing the screen or relaunching the app will no longer cause it to get stuck in an endless loop of reloading.
- Cleaner Chat History: When you resume an old chat session, the CLI now filters out internal system notes so your history stays clean and doesn't get cluttered with background code.
- Fewer Terminal Resize Errors: Resizing your terminal window will no longer trigger annoying "EBADF" (bad file descriptor) error messages in the background.
- Vim Key Fix: If you use Vim (a popular command-line text editor) shortcuts, the CLI will now safely ignore keys that aren't mapped to any action, instead of causing unexpected behavior.
- Sequential Topic Updates: The tool that updates chat topics now runs its tasks one after another (sequentially) instead of all at once, preventing system conflicts.
- Orphaned Response Fix: Fixed a bug where the system would get confused and throw an error when a background tool sent back a response but the router didn't know where to deliver it.
- Security Patch for MCP: Fixed a loophole in the Model Context Protocol (MCP) list that could have allowed blocked (blacklisted) items to be accessed.
- Reverted Terminal Signal Change: Undid a previous change regarding how the app handles "SIGHUP" (a signal sent when a terminal window is closed), as it was causing issues.
Breaking changes
No breaking changes in this release.
How to upgrade
Update to Gemini CLI v0.45.0 by running:
npm install -g @google/gemini-cli
This is our plain-language summary. Read the complete, official notes on the Gemini CLI official changelog β.
