安装失败、command not found、认证来回切:先打诊断。

30 秒判断
在系统终端跑 claude doctor,不要在出问题的 Claude session 内部套娃。
原因
doctor 会打印安装路径、Node、认证来源,避免你改错文件。
处理
- 新开终端执行
claude doctor。 - PATH、Node 版本、凭证来源按报告修。
- 再
/status核对。
怎么确认好了
doctor 不再报缺失二进制;最短对话成功。
验证日期:2026-09-01。网页 / 官方订阅 / 官方 Key / 中转 / 本地 bot 分开查。改完配置请完全退出再开。

AI故障手册