[BUG] No fallback to ripgrep in the PATH
Resolved 💬 2 comments Opened Jan 19, 2026 by caseyandgina Closed Jan 19, 2026
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
I am running Claude on FreeBSD (arm64). I have ripgrep installed and in the default system PATH (it's specifically in /usr/local/bin/rg), but it seems that attempts to use it fail because there's no platform-specific implementation in .npm-global/lib/node_modules/@anthropic-ai/claude-code/vendor/ripgrep, and there's no fallback on the system-provided version in the PATH.
What Should Happen?
Claude should be able to use the system-provided rg command.
Error Messages/Logs
Steps to Reproduce
- Set up Claude using NPM on a FreeBSD host.
- Do something that tries to use the ripgrep tool.
Claude Model
Opus
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.1.12 (Claude Code)
Platform
Anthropic API
Operating System
Other
Terminal/Shell
Terminal.app (macOS)
Additional Information
_No response_
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗