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:
- New to
difyctl: follow Get Started. - Used it before your server moved to Dify 1.18.0: start from Upgrade Across Dify 1.18.0.
- Server on Dify 1.17.x or earlier: use the docs for that version.