Mac It looks like ‘jq’ is not installed; please install it and run this setup script again.

When configuring terraform client to connect to the terraform cloud we got the error

It looks like 'jq' is not installed; please install it and run this setup script again.

In order to resolve this issue we needed to install jq. In this case we did not have homebrew installed. To perform homebrew you can use the command below. This will perform homebrew onto your mac under /opt. It will prompt you for sudo password in this case.

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Add brew to your path once installed.

export PATH=/opt/homebrew/bin:$PATH

Perform jq install using brew

brew install jq

Proceed with the next step of whatever you are trying to set up.