Install
witnyx is one command-line program. It runs on your machine or in CI, and it needs no account.
Install it from a release binary, Homebrew or the Docker image below, or build it from source.
Release binaries
Section titled “Release binaries”Each release on GitHub has one native binary for each platform. A native binary needs no Java.
| Platform | File |
|---|---|
| Linux, x64 | witnyx-linux-x64 |
| Linux, ARM64 | witnyx-linux-arm64 |
| macOS, Apple silicon | witnyx-macos-arm64 |
| Windows, x64 | witnyx-windows-x64.exe |
On a Mac with an Intel processor, use the JAR or the Docker image. The Linux binaries need the GNU C library (glibc) 2.34 or later, which Debian 12, Ubuntu 22.04 and 24.04, Red Hat Enterprise Linux 9 and most other current distributions have; they do not run on Alpine Linux.
Each release also has:
witnyx-cli-<version>.jar, the same tool as a JAR, which needs Java 25 or later;witnyx-sbom.cdx.json, Witnyx’s own software bill of materials (SBOM) in CycloneDX format;LICENSEandNOTICE, the licence and the notices of the third-party parts the binaries include;SHA256SUMS, the SHA-256 checksum of each of these files, andSHA256SUMS.sigstore.json, its keyless Sigstore signature.
Check every download against SHA256SUMS before you run it. If a check fails, delete the file and do not run it.
curl -fsSLO https://github.com/witnyx/witnyx/releases/latest/download/witnyx-linux-x64curl -fsSLO https://github.com/witnyx/witnyx/releases/latest/download/SHA256SUMSsha256sum --check --ignore-missing SHA256SUMSsudo install -m 0755 witnyx-linux-x64 /usr/local/bin/witnyxOn an ARM64 machine, use witnyx-linux-arm64 instead. sha256sum prints witnyx-linux-x64: OK. It fails when the file’s checksum differs, and also when no file that SHA256SUMS lists is in the folder.
curl -fsSLO https://github.com/witnyx/witnyx/releases/latest/download/witnyx-macos-arm64curl -fsSLO https://github.com/witnyx/witnyx/releases/latest/download/SHA256SUMSshasum -a 256 --check --ignore-missing SHA256SUMSsudo mkdir -p /usr/local/binsudo install -m 0755 witnyx-macos-arm64 /usr/local/bin/witnyxUse shasum -a 256 here: the sha256sum that comes with macOS reports success even when no listed file is in the folder.
The binary is not signed with an Apple certificate. A file downloaded with curl, as above, runs as it is. A file downloaded with a web browser is blocked the first time you open it: once it has passed the SHA256SUMS check, remove the browser’s quarantine mark with xattr -d com.apple.quarantine witnyx-macos-arm64. Homebrew needs neither step.
Windows
Section titled “Windows”In PowerShell:
Invoke-WebRequest https://github.com/witnyx/witnyx/releases/latest/download/witnyx-windows-x64.exe -OutFile witnyx-windows-x64.exeInvoke-WebRequest https://github.com/witnyx/witnyx/releases/latest/download/SHA256SUMS -OutFile SHA256SUMS(Get-FileHash witnyx-windows-x64.exe -Algorithm SHA256).HashSelect-String -Path SHA256SUMS -Pattern witnyx-windows-x64.exe -SimpleMatchThe hash and the first word of the matching line must be the same; PowerShell prints the hash in capital letters. Then rename the file to witnyx.exe and move it to a folder on your PATH.
Check the signature
Section titled “Check the signature”SHA256SUMS is signed by the release workflow of witnyx/witnyx, without a long-lived key (Sigstore), and GitHub records the build provenance of every file. With cosign and the GitHub CLI installed, check both before you trust SHA256SUMS, replacing 0.1.0 with the version you downloaded:
curl -fsSLO https://github.com/witnyx/witnyx/releases/download/v0.1.0/SHA256SUMS.sigstore.jsoncosign verify-blob --bundle SHA256SUMS.sigstore.json \ --certificate-identity https://github.com/witnyx/witnyx/.github/workflows/release.yml@refs/tags/v0.1.0 \ --certificate-oidc-issuer https://token.actions.githubusercontent.com SHA256SUMSgh attestation verify witnyx-linux-x64 --repo witnyx/witnyxcosign prints Verified OK.
The JAR
Section titled “The JAR”The JAR runs wherever Java 25 or later is installed:
java -jar witnyx-cli-0.1.0.jar versionHomebrew
Section titled “Homebrew”brew install witnyx/tap/witnyxDocker image
Section titled “Docker image”The image ghcr.io/witnyx/witnyx holds the native binary on a minimal base, without a shell. It runs as a user without root rights, in the folder /work. Mount your project there and pass the command and its options after the image:
docker run --rm --volume "$PWD:/work" ghcr.io/witnyx/witnyx:0.1.0 check bom.jsonDocker shows how to keep the data cache and the report files of a run.
Maven Central
Section titled “Maven Central”The JAR is also on Maven Central as com.witnyx:witnyx-cli. It is the release’s witnyx-cli-<version>.jar, byte for byte, and needs Java 25 or later:
mvn dependency:copy -Dartifact=com.witnyx:witnyx-cli:0.1.0 -DoutputDirectory=.java -jar witnyx-cli-0.1.0.jar versionEvery file on Maven Central is signed with the Witnyx release key, C0B2C589CE7A32BABE881CF19A1C37F0AF9464A4 (Witnyx releases <[email protected]>). To check the JAR:
curl -fLO https://repo1.maven.org/maven2/com/witnyx/witnyx-cli/0.1.0/witnyx-cli-0.1.0.jar.ascgpg --keyserver keyserver.ubuntu.com --recv-keys C0B2C589CE7A32BABE881CF19A1C37F0AF9464A4gpg --verify witnyx-cli-0.1.0.jar.asc witnyx-cli-0.1.0.jarThe JAR is a whole application with its dependencies inside: run it as a tool rather than adding it to a project. com.witnyx:witnyx-core is the check on its own.
Check that it works
Section titled “Check that it works”witnyx version prints the version, then the cache folder and the age of each public list in it. Before the first check, nothing is cached:
$ witnyx versioncisa-kev: not cachedenisa-euvd: not cachedendoflife-date: not cachedBuild from source
Section titled “Build from source”Building from source works today: you need Java 25 and Maven. Build from source shows how to build the JAR, the native binary and the Docker image.
Next steps
Section titled “Next steps”- Run your first check.
- Run it in CI: GitHub Actions, GitLab CI, Jenkins or Docker.
Witnyx is a record-keeping and workflow tool. It does not certify compliance. Nothing on this site is legal advice.