difyctl is a standalone binary with no runtime dependencies. The install script detects your platform, downloads the matching build from Dify’s GitHub Releases, verifies its checksum, and puts the binary in place.
Each
difyctl build targets a specific Dify version; install the one that matches your server (see DIFY_VERSION below).Install
1
Run the Installer
difyctl ships a build with each Dify release. Dify Enterprise 3.12.x runs Dify 1.16.1, so install that build:- macOS / Linux
- Windows
- Manual Download
Supported platforms: macOS and Linux, x64 and arm64.The script installs to
~/.local/bin/difyctl and tells you if that directory isn’t on your PATH.2
Verify the Install
Client: block with the version and platform.If you get command not found instead, the install directory isn’t on your PATH. Add it:Update
To updatedifyctl, re-run the install script; it replaces the binary in place. To move to a specific Dify version, set DIFY_VERSION as above.
Uninstall
difyctl auth logout.
Next Steps
Withdifyctl installed, choose the path that matches how you sign in to dify.example.com:
Account Users
Sign in to your Dify account, by email and password or your organization’s SSO.
External SSO Users
No Dify account: sign in through external SSO for the specific apps you’re permitted to run.