tfutils / tfenv

Terraform version manager
MIT License
4.48k stars 454 forks source link

tfenv throwing error Failed to download remote version #328

Closed amansingh14 closed 2 years ago

amansingh14 commented 2 years ago

Hi, I installed tfenv version 2.2.3 yesterday on ubuntu machine and getting following error from the time of installation.

amazesingh@ROG-Strix:~/.tfenv/bin$ tfenv --version tfenv 2.2.3 ERROR:

amazesingh@ROG-Strix:~/.tfenv/bin$ tfenv list-remote environment: line 4: curl: command not found Failed to download remote versions from https://releases.hashicorp.com/terraform/ Kindly, help on above issue.

Thanks, Aman SIngh

anthonyagresta commented 2 years ago

try sudo apt update && sudo apt install curl

amansingh14 commented 2 years ago

I forgot its new installation. Thanks it fixed the problem.