Skip to main content
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:
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.
To customize the install, set any of these environment variables on the install command.For example:
2

Verify the Install

You should see a 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 update difyctl, re-run the install script; it replaces the binary in place. To move to a specific Dify version, set DIFY_VERSION as above.

Uninstall

To sign out before uninstalling, run difyctl auth logout.

Next Steps

With difyctl 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.