$ /bin/bash -c "$(curl -fsSL <https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh>)
# tfenv 설치
$ brew install tfenv
# terraform 최신 버전 설치 (추천)
$ tfenv install
# terraform 특정 버전 설치
$ tfenv install 1.1.3
# terraform 특정 버전 사용
$ tfenv use 1.1.3
# terraform 버전 확인
$ terraform version
Terraform v1.1.3
버전 스위칭도 자유롭습니다