Built-in grep fails ENOENT macOS

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

This is the same report as Built-in search (rg) fails with ENOENT on macOS (arm64) which just got closed because no one responded. My situation is the same: the rg tool is in the app, can be manually run via command-line, is not quarantined…and Cursor fails to run the search tool.

Steps to Reproduce

It does not repro in all projects for me. In my main project chat I type:

Attempt to use Cursor’s grep tool; I think it fails in this project.

I see this output in the chat:

Explored 1 search ˯
Thought for 1s
Let me try a simple grep search.
Grepped attempted
There it is - the Grep tool fails because Cursor's bundled rg (ripgrep) binary is missing at the expected path:
/Applications/Cursor.app/Contents/Resources/app/node_modules/@vscode/ripgrep/bin/rg_ENOENT

Expected Behavior

Successful search of the project..

Screenshots / Screen Recordings

Operating System

MacOS

Version Information

Version: 2.5.17 (Universal)
VSCode Version: 1.105.1
Commit: 7b98dcb824ea96c9c62362a5e80dbf0d1aae4770
Date: 2026-02-17T05:58:33.110Z
Build Type: Stable
Release Track: Default
Electron: 39.3.0
Chromium: 142.0.7444.265
Node.js: 22.21.1
V8: 14.2.231.22-electron.0
OS: Darwin arm64 25.2.0

For AI issues: which model did you use?

claude-4.6-opus-high

Additional Information

I opened another project and AI was able to use the tool

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hi @Gavin_Kistner !

Appreciate you raising this issue. We have an ongoing sprint to burn down tool call errors, and this one is on the list to work on. I’ve added your report so we can follow up.

1 Like

This one has been marked as done, so look out for it in our next client release! Thanks again for the report @Gavin_Kistner.