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

# CLI 参考

> archetype 命令的日常用法。

| 命令 | 作用 |
| - | - |
| `archetype` | 在当前文件夹中开始一个新对话 |
| `archetype -c` | 打开上次对话的那个对话 |
| `archetype --session NAME` | 打开或创建名为 `NAME` 的对话 |
| `archetype --edit` | 允许当前对话编辑文件和运行命令 |
| `archetype --prompt TEXT` | 执行一次请求并输出回答 |
| `archetype app` | 在浏览器中打开涵盖所有文件夹的应用 |
| `archetype update` | 把 archetype 更新到最新版本 |
| `archetype daemon` | 运行、安装、重启或检查后台服务 |
| `archetype channels` | 设置聊天频道 |
| `archetype pair` | 配对你的另一台电脑或一部手机 |
| `archetype mcp` | 管理 MCP 服务器 |
| `archetype skills` | 列出、添加和更新技能 |
| `archetype --doctor` | 检查配置、模型、密钥和记录 |

`archetype --help` 会列出其余命令，每个命令也都支持 `--help`。


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.