Update
If the server moves from Enterprise 3.13.x or earlier to 3.14.0 or later, the old build stops working with it. See Upgrade Across Enterprise 3.14.0 for what to redo and which commands changed.
difyctl whenever your server moves to a new Enterprise release:
- Re-run the install command for the Dify version that release runs, with the same
DIFYCTL_PREFIXif you used one. The new build replaces the old one in place. - Run
difyctl versionand check that your build’s version matches the server’s. On Enterprise 3.14.x, both read1.20.0, the Dify version the server runs. - If a coding agent uses
difyctl, reinstall the difyctl skill. Otherwise the agent keeps following the old build’s instructions.
difyctl fetches the server’s new commands on its own. If difyctl help still shows the old list, run difyctl refresh cache.
Uninstall
-
Sign out while
difyctlis still installed. Signing out ends your session on the server and deletes your saved token. Removing the binary does neither: -
Remove the binary:
If you installed with
DIFYCTL_PREFIX, the binary is in<prefix>/bininstead. -
To remove your settings too, delete the config folder:
If you set
DIFY_CONFIG_DIR, delete that folder instead. -
If you installed the difyctl skill for a coding agent, delete the
difyctlfolder from that agent’s skills folder.