Installing yq as a pre-requisite

yq is a pre-requisite for scripting the automation for Keycloak Benchmark.. It needs to be installed before the installation can begin.

Installing yq

The recommended installation is to download the latest binary from the yq GitHub releases and put it into the user’s ~/bin directory.

The installation guide is available in the yq installation guide.

Optional installation steps for yq

Add the following snippet to the file ~/.bashrc to allow auto-completion of task commands.

source <(yq shell-completion bash)

Verifying the installation of yq

The command:

yq --version

Should print an output like:

yq (https://github.com/mikefarah/yq/) version 4.25.3