% brew install tfenv
% tfenv install latest
No versions matching 'latest' found in remote
どのバージョンをインストールしようとしてもNo versions matching * found in remote
となってしまってインストールできない。
MacOS - [ERROR] No versions matching '0.11.2' found in remote #83
どうやらgrepコマンドに色をつける設定をしているとダメらしい。
# .zshrc
# 以下のように変更
# export GREP_OPTIONS='--color=always'
export GREP_OPTIONS='--color=never
設定ファイルを読み込み直して、再度試したらインストールできた。
% source .zshrc
% tfenv install latest
Installing Terraform v0.15.3
Downloading release tarball from https://releases.hashicorp.com/terraform/0.15.3/terraform_0.15.3_darwin_amd64.zip
#################################################################### 100.0%