Skip to main content
On Dify Cloud, follow the Cloud CLI docs instead.
difyctl is the Dify command-line interface (CLI). It lets you work with your Dify apps from a terminal instead of the browser, and hand the same work to a coding agent, a script, or a CI job. You set it up once: install it, sign in, and give your coding agent the difyctl skill. Then ask your agent to build, run, or update your apps. Sign-ins expire, and renewing one takes a person in a browser. If your code runs only one app, use the Service API instead: its key never needs renewing. To start:
Last modified on October 23, 2026