There are multiple ways to install terraform-compliance depending on your needs.
terraform-compliance
Usually, pip installation would be sufficient for most of the use cases, but in case you will have any environmental problems, you can always use the docker version.
pip
docker