Skip to content

Instantly share code, notes, and snippets.

@tanelmae
Last active November 22, 2021 07:36
Show Gist options
  • Save tanelmae/03f82aeafba26ae3eec21576b3d1da51 to your computer and use it in GitHub Desktop.
Save tanelmae/03f82aeafba26ae3eec21576b3d1da51 to your computer and use it in GitHub Desktop.
Install amd64 binaries with asdf on Apple M1 machine
# asdf issue ref: https://github.com/asdf-vm/asdf/issues/834
# Switch to x86_64 shell.
# Change the /usr/bin/env bash --login to match whatever shell you use.
/usr/bin/arch -x86_64 /usr/bin/env bash --login
# Install some legacy binaries like this old version of Terraform:
asdf install terraform 0.12.31
# Exit the x86_64 shell and continue using asdf and Terraform as the above never happened :)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment