Documentation Index
Fetch the complete documentation index at: https://code.claude.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
Claude Code 在任何地方运行相同的底层引擎,但每个界面都针对不同的工作方式进行了优化。本页面帮助您为工作流选择合适的平台,并连接您已经使用的工具。
在哪里运行 Claude Code
根据您喜欢的工作方式和项目所在位置选择平台。
| 平台 | 最适合 | 您获得的功能 |
|---|
| CLI | 终端工作流、脚本编写、远程服务器 | 完整功能集、Agent SDK、计算机使用在 macOS 上(Pro 和 Max)、第三方提供商 |
| Desktop | 视觉审查、并行会话、托管设置 | Diff 查看器、应用预览、Pro 和 Max 上的计算机使用和 Dispatch |
| VS Code | 在 VS Code 内工作而无需切换到终端 | 内联 diff、集成终端、文件上下文 |
| JetBrains | 在 IntelliJ、PyCharm、WebStorm 或其他 JetBrains IDE 内工作 | Diff 查看器、选择共享、终端会话 |
| Web | 不需要太多操作的长时间运行任务,或应该在您离线时继续的工作 | Anthropic 托管云、断开连接后继续运行 |
| Mobile | 在远离计算机时启动和监控任务 | 来自 iOS 和 Android 版 Claude 应用的云会话、用于本地会话的 Remote Control、Pro 和 Max 上的 Dispatch 到 Desktop |
CLI 是终端原生工作的最完整界面:脚本编写和 Agent SDK 仅限 CLI。第三方提供商也可在 VS Code 中使用。企业 Desktop 部署支持 Vertex AI 和网关提供商;对于 Bedrock 或 Foundry,请使用 CLI 或 VS Code 而不是 Desktop。Desktop 和 IDE 扩展为了视觉审查和更紧密的编辑器集成而放弃了一些仅限 CLI 的功能。Web 在 Anthropic 的云中运行,因此任务在您断开连接后继续进行。Mobile 是这些相同云会话的瘦客户端,或通过 Remote Control 进入本地会话,并可以使用 Dispatch 向 Desktop 发送任务。
您可以在同一项目上混合使用多个界面。配置、项目内存和 MCP 服务器在本地界面之间共享。
连接您的工具
集成让 Claude 与代码库外的服务协作。
| 集成 | 功能 | 用途 |
|---|
| Chrome | 使用您登录的会话控制浏览器 | 测试 Web 应用、填充表单、自动化没有 API 的网站 |
| GitHub Actions | 在 CI 管道中运行 Claude | 自动化 PR 审查、问题分类、计划维护 |
| GitLab CI/CD | 与 GitHub Actions 相同,但用于 GitLab | GitLab 上的 CI 驱动自动化 |
| Code Review | 自动审查每个 PR | 在人工审查前捕获错误 |
| Slack | 响应频道中的 @Claude 提及 | 将错误报告转换为团队聊天中的拉取请求 |
对于此处未列出的集成,MCP 服务器和连接器让您连接几乎任何东西:Linear、Notion、Google Drive 或您自己的内部 API。
远离终端时工作
Claude Code offers several ways to work when you’re not at your terminal. They differ in what triggers the work, where Claude runs, and how much you need to set up.
| Trigger | Claude runs on | Setup | Best for |
|---|
| Dispatch | Message a task from the Claude mobile app | Your machine (Desktop) | Pair the mobile app with Desktop | Delegating work while you’re away, minimal setup |
| Remote Control | Drive a running session from claude.ai/code or the Claude mobile app | Your machine (CLI or VS Code) | Run claude remote-control | Steering in-progress work from another device |
| Channels | Push events from a chat app like Telegram or Discord, or your own server | Your machine (CLI) | Install a channel plugin or build your own | Reacting to external events like CI failures or chat messages |
| Slack | Mention @Claude in a team channel | Anthropic cloud | Install the Slack app with Claude Code on the web enabled | PRs and reviews from team chat |
| Scheduled tasks | Set a schedule | CLI, Desktop, or cloud | Pick a frequency | Recurring automation like daily reviews |
如果您不确定从哪里开始,安装 CLI 并在项目目录中运行它。如果您不想使用终端,Desktop 为您提供相同的引擎和图形界面。
相关资源
远程访问