> ## 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.

# 环境检查

> Momoapi 平台文档

> ## Documentation Index
>
> Fetch the complete documentation index at: [https://docs.momoapi.top/llms.txt](https://docs.momoapi.top/llms.txt) Use this file to discover all available pages before exploring further.

# 环境检查

检查 Node.js 和 npm：

```bash theme={null}
node --version
npm --version
```

如果命令不可用，请先安装 Node.js LTS 版本。

检查 Claude Code：

```bash theme={null}
claude --version
```

如果未安装 Claude Code，可执行：

```bash theme={null}
npm install -g @anthropic-ai/claude-code
```

检查 Codex CLI：

```bash theme={null}
codex --version
```

如果未安装 Codex CLI，可执行：

```bash theme={null}
npm install -g @openai/codex@latest
```

准备 Momoapi API Key：

1. 登录 [Momoapi 控制台](https://momoapi.top/console)中转站控制台。
2. 创建 API Key。
3. 如果控制台支持分组，请分别创建 Claude Code 分组和 Codex 分组的 Key。
4. 复制 Key 时确认没有前后空格
