Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.momoapi.top/llms.txt Use this file to discover all available pages before exploring further.

Claude Code CLI配置使用教程

CClaude Code 使用 ANTHROPIC_AUTH_TOKENANTHROPIC_BASE_URL 连接中转站。 配置文件位置: 如果 .claude 目录不存在,请先创建目录。 写入或合并以下配置:
配置说明: 保存后重启终端,在项目目录运行:
如果配置不生效,请按顺序检查:
  1. settings.json 是否是合法 JSON。
  2. ANTHROPIC_BASE_URL 是否没有 /v1
  3. ANTHROPIC_AUTH_TOKEN 是否填写了完整 API Key。
  4. 当前终端是否在修改配置后重新打开。