gemini-cli icon indicating copy to clipboard operation
gemini-cli copied to clipboard

feat(core): Prefer rg in system path.

Open joshualitt opened this issue 2 months ago â€ĸ 3 comments

TLDR

Prefer rg in system path over downloading.

Testing Matrix

🍏 đŸĒŸ 🐧
npm run ❓ ❓ :heavy_check_mark:
npx ❓ ❓ ❓
Docker ❓ ❓ ❓
Podman ❓ - -
Seatbelt ❓ - -

Linked issues / bugs

Fixes: https://github.com/google-gemini/gemini-cli/issues/11438

joshualitt avatar Oct 23 '25 22:10 joshualitt

Size Change: +465 B (0%)

Total Size: 20.3 MB

â„šī¸ View Unchanged
Filename Size Change
./bundle/gemini.js 20.3 MB +465 B (0%)
./bundle/sandbox-macos-permissive-closed.sb 1.03 kB 0 B
./bundle/sandbox-macos-permissive-open.sb 890 B 0 B
./bundle/sandbox-macos-permissive-proxied.sb 1.31 kB 0 B
./bundle/sandbox-macos-restrictive-closed.sb 3.29 kB 0 B
./bundle/sandbox-macos-restrictive-open.sb 3.36 kB 0 B
./bundle/sandbox-macos-restrictive-proxied.sb 3.56 kB 0 B

compressed-size-action

github-actions[bot] avatar Oct 23 '25 22:10 github-actions[bot]

We need to be careful with this, because the version installed on the system may be old and incompatible or buggy, or it may be a completely different binary altogether. I have a PR that introduces a checksum validation against a known-good version, maybe you can take a look at that?

cornmander avatar Oct 24 '25 18:10 cornmander

https://github.com/google-gemini/gemini-cli/pull/11548

cornmander avatar Oct 24 '25 18:10 cornmander