Skip to content

Latest commit

 

History

History
73 lines (50 loc) · 1.63 KB

File metadata and controls

73 lines (50 loc) · 1.63 KB

homebrew-dify

A Homebrew tap for the Dify plugin CLI.

It installs the dify command-line tool — the official CLI shipped with dify-plugin-daemon for scaffolding, developing, signing, and packaging Dify plugins. Prebuilt binaries are provided for macOS and Linux on both arm64 and amd64.

Prerequisite

Install

brew install langgenius/dify/dify

This shorthand automatically taps langgenius/dify and installs the formula. If you prefer to tap explicitly first:

brew tap langgenius/dify
brew install dify

Verify

dify version

Upgrade

brew upgrade dify

Reinstall

brew reinstall -f dify

Uninstall

brew uninstall dify
brew untap langgenius/dify

Maintenance

The formula lives in Formula/dify.rb. It pins a version and the SHA256 checksum for each platform binary published in a dify-plugin-daemon release.

To bump the formula to the latest upstream release, run the helper script — it reads the latest release from the GitHub API and rewrites the version and checksums in Formula/dify.rb:

export GITHUB_TOKEN=<your-token>
python scripts/update_release_checksums.py

Pull requests are validated by brew test-bot, which runs the Homebrew tap-syntax and formula checks on macOS and Ubuntu.

License

Released under the MIT License.