cunymatthieu / tgenv

Terragrunt version manager
MIT License
223 stars 70 forks source link

Installs wrong version on Mac M1 #31

Open gtmtech opened 2 years ago

gtmtech commented 2 years ago

When installing terragrunt using tgenv, on Apple Mac M1, the amd64 version and not the arm64 version is downloaded.

As there is not much activity on some of the issues here, for anyone coming across this issue, I'm now using tgswitch which installs the correct version.

Could tgenv be made to install the correct version for the correct OS architecture?

Many thanks

kieranbrown commented 2 years ago

For anybody else that's stumbled across this issue, you can export TGENV_ARCH=arm64 in your bashrc or zshrc

iokiwi commented 1 year ago

Hey, we've rebooted this project over at https://github.com/tgenv/tgenv

I think we've fixed this issue is a duplicate of https://github.com/cunymatthieu/tgenv/pull/35 which we fixed in https://github.com/tgenv/tgenv/pull/3