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

# Command Index

> Find any difyctl command by name, with a link to its full reference

| Command                                                                                                                 | What it does                                               |
| :---------------------------------------------------------------------------------------------------------------------- | :--------------------------------------------------------- |
| [`auth devices list`](/en/cli/reference/auth-and-contexts#list-your-active-sessions)                                    | List the active sessions for your account.                 |
| [`auth devices revoke`](/en/cli/reference/auth-and-contexts#revoke-sessions)                                            | Revoke one session, or all but the current one.            |
| [`auth list`](/en/cli/reference/auth-and-contexts#list-your-saved-contexts)                                             | List your saved sign-in contexts.                          |
| [`auth login`](/en/cli/reference/auth-and-contexts#sign-in)                                                             | Sign in to a Dify host with the OAuth device flow.         |
| [`auth logout`](/en/cli/reference/auth-and-contexts#sign-out)                                                           | Sign out of the active host.                               |
| [`auth whoami`](/en/cli/reference/auth-and-contexts#check-your-active-identity)                                         | Print the identity you're signed in as.                    |
| [`describe app`](/en/cli/reference/apps#inspect-an-app)                                                                 | Inspect one app's metadata and inputs.                     |
| [`env list`](/en/cli/reference/environment-variables#see-whats-set)                                                     | List the environment variables difyctl recognizes.         |
| [`export studio-app`](/en/cli/reference/apps#export-an-app)                                                             | Export a studio app's DSL configuration as YAML.           |
| [`get app`](/en/cli/reference/apps#list-your-apps)                                                                      | List apps, or look up one app.                             |
| [`get workspace`](/en/cli/reference/workspaces#list-your-workspaces)                                                    | List the workspaces you belong to.                         |
| [`help`](/en/cli/reference/help)                                                                                        | Get help in the terminal, including machine-readable JSON. |
| [`import studio-app`](/en/cli/reference/apps#import-an-app)                                                             | Import a studio app from a DSL file or URL.                |
| [`resume app`](/en/cli/reference/apps#resume-a-paused-workflow)                                                         | Resume a paused workflow run.                              |
| [`run app`](/en/cli/reference/apps#run-an-app)                                                                          | Run an app and print the response.                         |
| [`skills install`](/en/cli/reference/skills#install-the-skill)                                                          | Install the difyctl skill into detected coding agents.     |
| [`use account`](/en/cli/reference/auth-and-contexts#switch-the-active-account)                                          | Switch the active account on the current host.             |
| [`use host`](/en/cli/reference/auth-and-contexts#switch-the-active-host)                                                | Switch the active Dify host.                               |
| [`use workspace`](/en/cli/reference/workspaces#switch-your-workspace-cloud) <Badge color="blue" size="sm">Cloud</Badge> | Switch your active workspace.                              |
| [`version`](/en/cli/reference/version)                                                                                  | Show client and server versions and compatibility.         |

[Global flags](/en/cli/reference/global-flags) work across commands.

For the output formats, errors, and exit codes, see [Output Formats and Exit Codes](/en/cli/reference/output-formats-and-exit-codes).
