| 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 | List the workspaces you belong to. |
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. |
use workspace Cloud | Switch your active workspace. |
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
Global flags work across commands.
For the output formats, errors, and exit codes, see Output Formats and Exit Codes.
Last modified on July 2, 2026
Was this page helpful?
⌘I