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 servers 和連接器讓您連接幾乎任何東西: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 為您提供相同的引擎和圖形介面。
相關資源
遠端存取