> ## Documentation Index
> Fetch the complete documentation index at: https://dify-6c0370d8-docs-agent-app-service-api.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# 命令索引

> 按名称查找任意 difyctl 命令，并附带其完整参考的链接

> 本文档由 AI 自动翻译。如有任何不准确之处，请参考 [英文原版](/en/cli/reference/command-index)。

| Command                                                           | 功能                             |
| :---------------------------------------------------------------- | :----------------------------- |
| [`auth devices list`](/zh/cli/reference/auth-and-contexts#列出活跃会话) | 列出账户的活跃会话。                     |
| [`auth devices revoke`](/zh/cli/reference/auth-and-contexts#撤销会话) | 撤销某个会话，或除当前会话外的所有会话。           |
| [`auth list`](/zh/cli/reference/auth-and-contexts#列出已保存的上下文)      | 列出已保存的登录上下文。                   |
| [`auth login`](/zh/cli/reference/auth-and-contexts#登录)            | 通过 OAuth 设备流程登录 Dify 主机。       |
| [`auth logout`](/zh/cli/reference/auth-and-contexts#退出登录)         | 退出当前主机的登录。                     |
| [`auth whoami`](/zh/cli/reference/auth-and-contexts#查看当前身份)       | 打印当前登录的身份。                     |
| [`describe app`](/zh/cli/reference/apps#查看应用)                     | 查看单个应用的元数据和输入。                 |
| [`env list`](/zh/cli/reference/environment-variables#查看已设置的变量)    | 列出 difyctl 可识别的环境变量。           |
| [`export studio-app`](/zh/cli/reference/apps#导出应用)                | 将工作室应用的 DSL 配置导出为 YAML。        |
| [`get app`](/zh/cli/reference/apps#列出应用)                          | 列出应用，或查询单个应用。                  |
| [`get workspace`](/zh/cli/reference/workspaces#显示工作空间)            | 显示工作空间。                        |
| [`help`](/zh/cli/reference/help)                                  | 在终端中获取帮助，包括机器可读的 JSON。         |
| [`import studio-app`](/zh/cli/reference/apps#导入应用)                | 从 DSL 文件或 URL 导入工作室应用。         |
| [`resume app`](/zh/cli/reference/apps#恢复已暂停的工作流)                  | 恢复已暂停的工作流运行。                   |
| [`run app`](/zh/cli/reference/apps#运行应用)                          | 运行应用并打印响应。                     |
| [`skills install`](/zh/cli/reference/skills#安装技能)                 | 将 difyctl 技能安装到检测到的编码 Agent 中。 |
| [`use account`](/zh/cli/reference/auth-and-contexts#切换当前账户)       | 切换当前主机上的活跃账户。                  |
| [`use host`](/zh/cli/reference/auth-and-contexts#切换当前主机)          | 切换当前的 Dify 主机。                 |
| [`version`](/zh/cli/reference/version)                            | 显示客户端和服务端版本及兼容性。               |

[全局标志](/zh/cli/reference/global-flags) 适用于所有命令。

关于输出格式、错误和退出码，详见 [输出格式与退出码](/zh/cli/reference/output-formats-and-exit-codes)。
