tfutils / tfenv

Terraform version manager
MIT License
4.43k stars 450 forks source link

Install error: No versions matching '1.3.9' found in remote #383

Open 0x26res opened 1 year ago

0x26res commented 1 year ago

I'm trying to use tfenv but it can't install any version of terraform.

$ brew install tfenv
$ tfenv list-remote | head
1.4.0-rc1
1.4.0-beta2
1.4.0-beta1
1.4.0-alpha20221207
1.4.0-alpha20221109
1.3.9
1.3.8
1.3.7
1.3.6
1.3.5
$ tfenv install 1.3.9     
No versions matching '1.3.9' found in remote
$ tfenv install latest
No versions matching 'latest' found in remote
$ tfenv install v1.3.9
No versions matching 'v1.3.9' found in remote

I'm not sure why it complains about not finding the version in remote. They are present when I call list-remote

worzel666 commented 1 year ago

What version of tfenv have you got installed? tfenv --version

0x26res commented 1 year ago
$  tfenv --version
tfenv 3.0.0
worzel666 commented 1 year ago

Any other information? OS, architecture? The more information the better, really :)

0x26res commented 1 year ago

I'm on macos, on an m1 macbook pro

ProductName:            macOS
ProductVersion:         13.2.1
BuildVersion:           22D68

I had previously installed terraform using brew, maybe it has left it in bad state. I ended up downloading the version I wanted to use manually.