Skip to content

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.

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;
  • LICENSE and NOTICE, the licence and the notices of the third-party parts the binaries include;
  • SHA256SUMS, the SHA-256 checksum of each of these files, and SHA256SUMS.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.

Terminal window
curl -fsSLO https://github.com/witnyx/witnyx/releases/latest/download/witnyx-linux-x64
curl -fsSLO https://github.com/witnyx/witnyx/releases/latest/download/SHA256SUMS
sha256sum --check --ignore-missing SHA256SUMS
sudo install -m 0755 witnyx-linux-x64 /usr/local/bin/witnyx

On 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.

Terminal window
curl -fsSLO https://github.com/witnyx/witnyx/releases/latest/download/witnyx-macos-arm64
curl -fsSLO https://github.com/witnyx/witnyx/releases/latest/download/SHA256SUMS
shasum -a 256 --check --ignore-missing SHA256SUMS
sudo mkdir -p /usr/local/bin
sudo install -m 0755 witnyx-macos-arm64 /usr/local/bin/witnyx

Use 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.

In PowerShell:

Terminal window
Invoke-WebRequest https://github.com/witnyx/witnyx/releases/latest/download/witnyx-windows-x64.exe -OutFile witnyx-windows-x64.exe
Invoke-WebRequest https://github.com/witnyx/witnyx/releases/latest/download/SHA256SUMS -OutFile SHA256SUMS
(Get-FileHash witnyx-windows-x64.exe -Algorithm SHA256).Hash
Select-String -Path SHA256SUMS -Pattern witnyx-windows-x64.exe -SimpleMatch

The 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.

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:

Terminal window
curl -fsSLO https://github.com/witnyx/witnyx/releases/download/v0.1.0/SHA256SUMS.sigstore.json
cosign 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 SHA256SUMS
gh attestation verify witnyx-linux-x64 --repo witnyx/witnyx

cosign prints Verified OK.

The JAR runs wherever Java 25 or later is installed:

Terminal window
java -jar witnyx-cli-0.1.0.jar version
Terminal window
brew install witnyx/tap/witnyx

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:

Terminal window
docker run --rm --volume "$PWD:/work" ghcr.io/witnyx/witnyx:0.1.0 check bom.json

Docker shows how to keep the data cache and the report files of a run.

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:

Terminal window
mvn dependency:copy -Dartifact=com.witnyx:witnyx-cli:0.1.0 -DoutputDirectory=.
java -jar witnyx-cli-0.1.0.jar version

Every file on Maven Central is signed with the Witnyx release key, C0B2C589CE7A32BABE881CF19A1C37F0AF9464A4 (Witnyx releases <[email protected]>). To check the JAR:

Terminal window
curl -fLO https://repo1.maven.org/maven2/com/witnyx/witnyx-cli/0.1.0/witnyx-cli-0.1.0.jar.asc
gpg --keyserver keyserver.ubuntu.com --recv-keys C0B2C589CE7A32BABE881CF19A1C37F0AF9464A4
gpg --verify witnyx-cli-0.1.0.jar.asc witnyx-cli-0.1.0.jar

The 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.

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:

Terminal window
$ witnyx version
cisa-kev: not cached
enisa-euvd: not cached
endoflife-date: not cached

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.

Witnyx is a record-keeping and workflow tool. It does not certify compliance. Nothing on this site is legal advice.