Build of HCL v2 because you can't install hclfmt as a binary with go get.
You most probably want to try the official way:
go install github.com/hashicorp/hcl/v2/cmd/hclfmt@latestbut if for some reason this does not work for you, grab a binary from releases.
make