gemini-cli - 💡(How to fix) Fix Quarantined version of ripgrep (rg) on macOS [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#25377Fetched 2026-04-15 06:45:15
View on GitHub
Comments
1
Participants
2
Timeline
7
Reactions
0
Author
Participants
Timeline (top)
labeled ×3commented ×1cross-referenced ×1renamed ×1

Error Message

I am hitting this error when trying to use the Gemini coding agent: No error like that should appear

Code Example

CLI Version                                                                                                 0.37.1Git Commit                                                                                                  3b2d4f100                                                                                                                                                                                                 │
Model                                                                                                       gemini-3-flash-preview                                                                                                                                                                                    │
Sandbox                                                                                                     no sandbox                                                                                                                                                                                                │
OS                                                                                                          darwin                                                                                                                                                                                                    │
Auth Method                                                                                                 Signed in with Google (***)Tier                                                                                                        Gemini Code Assist for individuals

---

❯ xattr -l $HOME/.gemini/tmp/bin/rg

com.apple.quarantine: 0081;693eb51d;BrowserOS;

---

xattr -d com.apple.quarantine $HOME/.gemini/tmp/bin/rg
RAW_BUFFERClick to expand / collapse

What happened?

I am hitting this error when trying to use the Gemini coding agent:

<img width="372" height="380" alt="Image" src="https://github.com/user-attachments/assets/d650e1be-b9af-4eb8-a064-5af53cb99f78" />

What did you expect to happen?

No error like that should appear

Client information

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

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

│ CLI Version                                                                                                 0.37.1                                                                                                                                                                                                    │
│ Git Commit                                                                                                  3b2d4f100                                                                                                                                                                                                 │
│ Model                                                                                                       gemini-3-flash-preview                                                                                                                                                                                    │
│ Sandbox                                                                                                     no sandbox                                                                                                                                                                                                │
│ OS                                                                                                          darwin                                                                                                                                                                                                    │
│ Auth Method                                                                                                 Signed in with Google (***)                                                                                                                                                            │
│ Tier                                                                                                        Gemini Code Assist for individuals
</details>

Login information

Google Account

Anything else we need to know?

Here is the info on the quarantine:


❯ xattr -l $HOME/.gemini/tmp/bin/rg

com.apple.quarantine: 0081;693eb51d;BrowserOS;

and I was able to fix it via

xattr -d com.apple.quarantine $HOME/.gemini/tmp/bin/rg

See https://github.com/zed-industries/zed/issues/47209.

extent analysis

TL;DR

Removing the com.apple.quarantine attribute from the $HOME/.gemini/tmp/bin/rg file may resolve the error.

Guidance

  • The error is likely caused by the com.apple.quarantine attribute set on the $HOME/.gemini/tmp/bin/rg file, which is preventing the Gemini coding agent from functioning correctly.
  • To verify, check the attributes of the file using xattr -l $HOME/.gemini/tmp/bin/rg and look for the com.apple.quarantine attribute.
  • Remove the com.apple.quarantine attribute using the command xattr -d com.apple.quarantine $HOME/.gemini/tmp/bin/rg to potentially resolve the issue.
  • If the issue persists, refer to the related issue https://github.com/zed-industries/zed/issues/47209 for further troubleshooting.

Notes

The provided solution is specific to macOS systems, as indicated by the darwin OS in the client information.

Recommendation

Apply workaround: Remove the com.apple.quarantine attribute from the affected file, as it has been reported to resolve similar issues in the past.

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

gemini-cli - 💡(How to fix) Fix Quarantined version of ripgrep (rg) on macOS [1 comments, 2 participants]