gemini-cli - 💡(How to fix) Fix Can't upgrade to 0.39 using brew [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
google-gemini/gemini-cli#25899Fetched 2026-04-24 06:13:20
View on GitHub
Comments
1
Participants
2
Timeline
5
Reactions
2
Author
Participants
Timeline (top)
subscribed ×2commented ×1cross-referenced ×1labeled ×1

Code Example

> /about
# paste output here
RAW_BUFFERClick to expand / collapse

What happened?

I have this message when I open the cli

│ Gemini CLI update available! 0.38.2 → 0.39.0
│ Installed via Homebrew. Please update with "brew upgrade gemini-cli".

but when I do brew upgrade gemini-cli

brew upgrade gemini-cli ✔︎ JSON API cask.jws.json Downloaded 15.4MB/ 15.4MB ✔︎ JSON API formula.jws.json Downloaded 32.0MB/ 32.0MB Warning: gemini-cli 0.38.2 already installed

I tried uninstalling and installing it again, no lu

What did you expect to happen?

upgrade successfully to 0.39

Client information

<details> <summary>Client Information</summary>

Run gemini to enter the interactive CLI, then run the /about command.

> /about
# paste output here

About Gemini CLI │ │ │ │ CLI Version 0.38.2 │ │ Git Commit b0ed611a0 │ │ Model Auto (Gemini 3) │ │ Sandbox no sandbox │ │ OS darwin │ │ Auth Method Signed in with Google │ │ Tier Gemini Code Assist in Google One AI Pro │ │

</details>

Login information

No response

Anything else we need to know?

No response

extent analysis

TL;DR

The issue can likely be resolved by using the brew upgrade --fetch-origins command to force a re-fetch of the formula and then upgrading the gemini-cli.

Guidance

  • The warning message "gemini-cli 0.38.2 already installed" suggests that Homebrew is not recognizing the availability of the new version 0.39.0.
  • Try running brew update to ensure the formula is up-to-date before attempting the upgrade again.
  • Use brew upgrade --fetch-origins gemini-cli to force a re-fetch of the formula and then upgrade.
  • Verify the upgrade by running gemini and checking the version number.

Notes

The issue seems to be related to Homebrew's formula not being updated, which is preventing the upgrade to the new version.

Recommendation

Apply workaround: use brew upgrade --fetch-origins gemini-cli to force the upgrade. This is recommended because it directly addresses the issue of Homebrew not recognizing the new version.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING