Last active
November 22, 2021 07:36
-
-
Save tanelmae/03f82aeafba26ae3eec21576b3d1da51 to your computer and use it in GitHub Desktop.
Install amd64 binaries with asdf on Apple M1 machine
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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