Skip to content

About

No description, website, or topics provided.

Resources

Code of conduct

Stars

9 stars

Watchers

1 watching

Forks

Latest commit

 

History

71 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 stable upstream release, run the helper script with Python 3.9 or newer from the repository root. It reads the release tag and asset digests from the GitHub API and updates the download URL, version, and all four platform checksums in Formula/dify.rb:

python3 scripts/update_release_checksums.py

Authentication is optional for this public repository. Set GITHUB_TOKEN in your environment if you need an authenticated API request, for example to avoid the unauthenticated rate limit. The script exits with an error without changing the formula if the API request fails, a required asset or SHA256 digest is missing or invalid, or the expected formula fields cannot be found uniquely.

Review the diff and run the local checks before opening a pull request:

git diff -- Formula/dify.rb
python3 -m unittest discover -s tests -v
ruby -c Formula/dify.rb
git diff --check

Also verify downloaded release binaries against the updated SHA256 checksums and confirm that the native binary's version command reports the expected v<version>.

The brew test-bot workflow defines Homebrew tap-syntax and formula checks for macOS and Ubuntu, but its job is currently disabled with if: false. Pull requests do not run those checks automatically.

License

Released under the MIT License.

About

No description, website, or topics provided.

Resources

Code of conduct

Stars

9 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages