Skip to content

Instantly share code, notes, and snippets.

@tanelmae
Last active November 22, 2021 07:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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