Repository navigation
Conversation
Fixes google-gemini#28159 gemini-cli is deprecated in homebrew-core. Added a caution note in docs/get-started/installation.mdx and README.md so new users are warned before choosing Homebrew. Updated the installationInfo update message for existing Homebrew users to suggest migrating to npm instead of running brew upgrade.
Summary of ChangesHello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request addresses the deprecation of the gemini-cli formula in homebrew-core. It ensures that both new and existing users are correctly guided toward using npm for future updates, preventing them from relying on a deprecated distribution channel. Highlights
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize the Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counterproductive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here. Footnotes
|
|
📊 PR Size: size/S
|
|
You already have 7 pull requests open. Please work on getting existing PRs merged before opening more. |
There was a problem hiding this comment.
Code Review
This pull request documents the deprecation of the gemini-cli formula in homebrew-core. It updates the installation instructions in README.md and docs/get-started/installation.mdx to warn users and suggest migrating to npm. Additionally, it updates the CLI's internal installation utility and its corresponding unit tests to output a deprecation warning and migration message when Homebrew is detected as the package manager. There are no review comments, so I have no feedback to provide.
Summary
gemini-cliis deprecated inhomebrew-core. New users following the docs may install a version that won't receive updates.docs/get-started/installation.mdxandREADME.mddirecting users to npm instead.installationInfo.tsso existing Homebrew users see a migration prompt rather thanbrew upgrade gemini-cli(which would install the deprecated version).Details
3 files changed:
packages/cli/src/utils/installationInfo.ts— update message for HOMEBREW now says the formula is deprecated and suggestsnpm install -g @google/gemini-cliREADME.md— added Note callout before the Homebrew code blockdocs/get-started/installation.mdx— added Docusaurus:::cautionblock in the Homebrew tabThe Homebrew tab/section is kept (not removed) since some users may still have it working; the deprecation notice is the minimal correct fix.
Related Issues
Fixes #28159
How to Validate
npm test -w @google/gemini-cli -- src/utils/installationInfo.test.tsPre-Merge Checklist