标签 ripgrep 下的文章

今天使用 https://linux.do/t/topic/1440210 佬分享的方法测试的时候,claude code 调用子代理一直返回 500 错误。

后面发现是我早上把 claude code 从 npm 安装换成了原生安装导致的。claude 官网给出的答复是:

如果搜索工具、**@file** 提及、自定义代理和自定义技能不起作用,請安裝 systemripgrep:

macOS (Homebrew)

brew install ripgrep

Windows (winget)

winget install BurntSushi.ripgrep.MSVC

Ubuntu/Debian

sudo apt install ripgrep

Alpine Linux

apk add ripgrep

Arch Linux

pacman -S ripgrep

然后在您的环境中设置 **USE_BUILTIN_RIPGREP=0**。


📌 转载信息
原作者:
hexsen
转载时间:
2026/1/23 19:24:14