Simon Kragh
04/01/2022, 10:07 AMDaniel Mosesson
04/01/2022, 10:48 AMSimon Kragh
04/01/2022, 10:53 AMDaniel Mosesson
04/01/2022, 10:57 AMSimon Kragh
04/01/2022, 11:04 AMDaniel Mosesson
04/01/2022, 11:05 AMDaniel Mosesson
04/01/2022, 11:05 AMSimon Kragh
04/01/2022, 11:25 AMjamie
04/01/2022, 4:44 PMSimon Kragh
04/02/2022, 6:03 AMjamie
04/04/2022, 2:17 PMarch -x86_64 /bin/bash -c "$(curl -fsSL <https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh>)"
. You'll also need to know which version of homebrew to use depending on if you're in your rosetta terminal or arm terminal (assuming you've also installed homebrew for arm). You can alias the installations like this
alias ibrew='arch -x86_64 /usr/local/bin/brew'
alias mbrew='arch -arm64e /opt/homebrew/bin/brew'
or add this snippet to your ~/.bashrc
or ~/.zshrc
arch_name="$(uname -m)"
if [ "${arch_name}" = "x86_64" ]; then
echo "Running in x86 mode"
eval $(/usr/local/bin/brew shellenv)
elif [ "${arch_name}" = "arm64" ]; then
echo "Running in Arm mode"
eval $(/opt/homebrew/bin/brew shellenv)
else
echo "Unexpected uname -m result ${arch_name}"
fi
# brew libraries
export LDFLAGS="-L $(brew --prefix openssl)/lib"
export CFLAGS="-I $(brew --prefix openssl)/include"
From there you should be able to follow the rest of the instructions in our docs in your rosetta terminal, but let me know if something still isn't working!