下载
Claude Code(已关闭遥测)
安装 Anthropic 发布的 Claude Code,并关掉它默认发出的使用统计和崩溃报告。国内网络可以直接安装,不需要先装 Node.js。
macOS 和 Linux,在终端里运行:
curl -fsSL https://roamai.cloud/claude-code.sh | bashWindows,在 PowerShell 里运行:
irm https://roamai.cloud/claude-code.ps1 | iex不需要管理员权限,不要加 sudo。装好后打开一个新的终端窗口,运行 claude。
Claude Desktop
按顺序做下面三步。关闭遥测要在接入 API Key 之后做。
下载并安装 Claude Desktop
安装包与 Claude 官网的相同,由 RoamAI 同步了一份,国内网络可以直接下载。Windows 下载的是 .msix 文件,双击安装。
接入 API Key
在控制台创建 API Key,然后在 Claude Desktop 里打开 Gateway 模式,填上 Base URL 和 API Key。 详细步骤 →
关闭遥测
退出 Claude Desktop(在菜单里选 Quit,关掉窗口不算退出),把下面的命令粘到终端(Windows 用 PowerShell)里运行,再重新打开 Claude Desktop。装了 Claude Code 的话,它的遥测也一起关掉。
cd ~ curl -fsSLo telemetry-off \ https://dl.roamai.cloud/tools/telemetry-off/v1/telemetry-off-macos chmod +x telemetry-off ./telemetry-off