The native binary of the latest open-java-format release, for macOS on Apple silicon and Intel and for Linux on x86-64 and AArch64. It needs no JDK.
brew install openjavaformat/tap/open-java-format
open-java-format --versionThe formula downloads the binary from the release page and checks it against the release's
checksums_sha256.txt. The Linux binaries need glibc 2.34 or later; on Windows, install it in WSL.
brew upgrade takes each new release. A new minor version can change the output (see
Versions); brew pin open-java-format holds the installed one.
It is a formula rather than a cask: Homebrew downloads a formula with curl, so the binary gets no quarantine
flag, which matters because the macOS binaries are not notarized.
Follow open-java-format releases runs once an hour. When a new release is out, it writes the new version and checksums into the formula, installs and tests it on all four platforms, and pushes it here. Tests does the same for every push and pull request.