Skip to main content
CommandWhat it does
auth devices listList the active sessions for your account.
auth devices revokeRevoke one session, or all but the current one.
auth listList your saved sign-in contexts.
auth loginSign in to a Dify host with the OAuth device flow.
auth logoutSign out of the active host.
auth whoamiPrint the identity you’re signed in as.
describe appInspect one app’s metadata and inputs.
env listList the environment variables difyctl recognizes.
export studio-appExport a studio app’s DSL configuration as YAML.
get appList apps, or look up one app.
get workspaceShow your workspace.
helpGet help in the terminal, including machine-readable JSON.
import studio-appImport a studio app from a DSL file or URL.
resume appResume a paused workflow run.
run appRun an app and print the response.
skills installInstall the difyctl skill into detected coding agents.
use accountSwitch the active account on the current host.
use hostSwitch the active Dify host.
versionShow client and server versions and compatibility.
Global flags work across commands. For the output formats, errors, and exit codes, see Output Formats and Exit Codes.
Last modified on June 25, 2026