Skip to content

Install

You can install the pre-compiled binary (in several ways), or compile from source. We also provide a GitHub action to easily install Kyverno-JSON in your workflows.

Install the pre-compiled binary

Homebrew tap

add tap:

brew tap kyverno/kyverno-json https://github.com/kyverno/kyverno-json

install kyverno-json:

brew install kyverno/kyverno-json/kyverno-json

Manually

Download the pre-compiled binaries for your system from the releases page and copy them to the desired location.

Using go install

You can install with go install with:

go install github.com/kyverno/kyverno-json@latest

Build from the source code

clone the repository:

git clone https://github.com/kyverno/kyverno-json.git

build the binaries:

cd kyverno-json
go mod tidy
make build

verify the build:

./kyverno-json version