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.
difyctl was introduced with Dify 1.15.0. Each build targets a specific Dify version, so install the one that matches your server (see DIFY_VERSION below).

Install

1

Run the Installer

difyctl ships a build with each Dify release, and the installer fetches the latest by default.
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, head to the Quick Start to sign in and run your first app.
Last modified on July 16, 2026