tfenv install エラーを brew install grep で解決しました

tfenv install でエラーが発生したので brew install grep して解決した話をご紹介します。

Terraform | テラフォーム

背景 tfenv install latest でエラー

$ tfenv install latest

A metaphysical dichotomy has caused this unit to overload and shut down. GNU Grep is a requirement and your Mac does not have it. Consider "brew install grep"
Failed to resolve latest version

解決方法 brew install grep

エラーメッセージの通り brew install grep を実行して、再度 tfenv install latest を実行して、解決しました。

brew install grep
tfenv install latest

以上、tfenv install エラーを解決した、現場からお送りしました。