| Command | What it does |
|---|---|
auth devices list | List the active sessions for your account. |
auth devices revoke | Revoke one session, or all but the current one. |
auth list | List your saved sign-in contexts. |
auth login | Sign in to a Dify host with the OAuth device flow. |
auth logout | Sign out of the active host. |
auth whoami | Print the identity you’re signed in as. |
describe app | Inspect one app’s metadata and inputs. |
env list | List the environment variables difyctl recognizes. |
export studio-app | Export a studio app’s DSL configuration as YAML. |
get app | List apps, or look up one app. |
get workspace | Show your workspace. |
help | Get help in the terminal, including machine-readable JSON. |
import studio-app | Import a studio app from a DSL file or URL. |
resume app | Resume a paused workflow run. |
run app | Run an app and print the response. |
skills install | Install the difyctl skill into detected coding agents. |
use account | Switch the active account on the current host. |
use host | Switch the active Dify host. |
version | Show client and server versions and compatibility. |
CLI Reference
Command Index
Find any difyctl command by name, with a link to its full reference
Last modified on June 25, 2026