[BUG] ripgrep fails on OpenBSD

Resolved 💬 7 comments Opened Jan 19, 2026 by donpellegrino Closed Feb 28, 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?

Even with ripgrep installed, Claude Code tries to run /path/to/claude-code/vendor/ripgrep/x64-openbsd/rg which does not exist. - work-around is to create a symlink there. Ideally Claude Code would just use the ripgrep from the PATH and not bundle one at all for "Config install method: global."

$ claude doctor
                                                                                       
 Diagnostics                                                                           
 └ Currently running: npm-global (2.1.12)                                              
 └ Path: /usr/local/bin/node                                                           
 └ Invoked: /home/user/.npm-global/bin/claude                                          
 └ Config install method: global                                                       
 └ Search: OK (vendor)                                                                 
                                                                                       
 Updates                                                                               
 └ Auto-updates: enabled                                                               
 └ Update permissions: Yes                                                             
 └ Auto-update channel: latest                                                         
 └ Stable version: 2.1.2                                                               
 └ Latest version: 2.1.12                                                              
                                                                                       
 Version Locks                                                                         
 └ No active version locks  

What Should Happen?

Claude should run rg from the PATH.

Error Messages/Logs

Steps to Reproduce

Have Claude Code try to run a search on local files.

Claude Model

Not sure / Multiple models

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

2.1.12

Platform

Anthropic API

Operating System

Other

Terminal/Shell

Xterm

Additional Information

_No response_

View original on GitHub ↗

This issue has 7 comments on GitHub. Read the full discussion on GitHub ↗