Orion331 在 【留档】解决第一次启动claude code跳过读取settings.json,强制去连接Anthropic services的问题 中发帖
Unable to connect to Anthropic services
Failed to connect to api.anthropic.com: ERR_BAD_REQUEST
Please check your internet connection and network settings.
Note: Claude Code might not be available in your country. Check supported countries at
国内机不想去设置代理,只用中转站如果出现这个问题,在linux中只需要添加以下参数即可
jq '. + {hasCompletedOnboarding: true}' ~/.claude.json > /tmp/claude.json \
&& mv /tmp/claude.json ~/.cla...