> ## Documentation Index
> Fetch the complete documentation index at: https://docs.devinenterprise.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Devin CLI

> 可直接在你的命令行中将 Devin 用作本地编码 Agent，并可将任务移交给云端 Devin。

[Devin CLI](/zh/cli) 是一款直接在你的终端中运行的本地编码 Agent。它可与本地文件和环境配合使用，在你编写代码时提供快速、交互式的协助。

如需完整文档 (包括安装、命令、配置和扩展能力) ，请参阅 **[Devin CLI 文档](/zh/cli)**。

<div id="handoff-to-cloud-devin">
  ## 移交给云端 Devin
</div>

当任务超出你的本地机器处理能力时——或者你想在离开时让 Devin 继续工作——请使用 `/handoff` 命令，将工作无缝移交到云端 [Devin 会话](/zh/get-started/first-run)。

```
/handoff fix the flaky integration tests in CI
```

Devin CLI 会将对话上下文和当前 git 分支打包，然后创建一个云端 Devin 会话，从你上次中断的地方继续。你可以直接在终端中或在 Devin Web 应用中查看该会话的进度。

<Tip>
  如果你在未提供任务描述的情况下运行 `/handoff`，云端会话会自动从你上次中断的地方继续。
</Tip>

<CardGroup cols={2}>
  <Card title="快速入门与安装" icon="bolt" href="/zh/cli">
    2 分钟内完成安装并开始编写代码
  </Card>

  <Card title="核心命令" icon="terminal" href="/zh/cli/essential-commands">
    必须掌握的命令和键盘快捷键
  </Card>
</CardGroup>
