If you want to have multiple versions of Terraform installed, use this tool.

Install TFEnv

$ brew install tfenv

Install a version of Terraform

$ tfenv install 1.2.3

Use a version of Terraform

$ terraform1.2.3