Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
Bug Report: Internal Grep Tool Fails - Ripgrep Binary Missing from AppImage
Environment:
- OS: Linux 6.14.0-33-generic
- Cursor: AppImage installation (mounted at
/tmp/.mount_cursor8xNBnt/)
Issue:
The internal Grep tool used by the AI assistant fails with an ENOENT error because the bundled ripgrep binary is missing from the expected location.
Error Message:
Error running tool: spawn /tmp/.mount_cursor8xNBnt/usr/share/cursor/resources/app/node_modules/@vscode/ripgrep/bin/rg ENOENT
Steps to Reproduce
Steps to Reproduce:
- Open Cursor (AppImage version on Linux)
- Ask the AI assistant to search for something in the codebase
- The internal Grep tool fails with the above error
Expected Behavior
Expected Behavior:
The Grep tool should successfully execute searches using the bundled ripgrep binary.
Actual Behavior:
The ripgrep binary at node_modules/@vscode/ripgrep/bin/rg inside the AppImage does not exist, causing all Grep operations to fail.
Operating System
Linux
Version Information
Version: 2.4.22
VSCode Version: 1.105.1
Commit: 618c607a249dd7fd2ffc662c6531143833bebd40
Date: 2026-01-26T22:51:47.692Z
Build Type: Stable
Release Track: Default
Electron: 39.2.7
Chromium: 142.0.7444.235
Node.js: 22.21.1
V8: 14.2.231.21-electron.0
OS: Linux x64 6.14.0-33-generic
Additional Information
Additional Context:
- The sandbox mechanism also relies on ripgrep and fails with the same error
- System ripgrep (
rg) is not installed, but even if it were, the tool is looking for the bundled version - GNU grep (
/usr/bin/grep) is available on the system but not used as a fallback
Workaround:
Install ripgrep system-wide: sudo apt install ripgrep
Does this stop you from using Cursor
No - Cursor works, but with this issue