Homebrew x86_64
Table of contents
Installing Homebrew for both arm and x86
Install for x86
After having installed Homebrew natively, install for x86:
arch -x86_64 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
x86 Homebrew will be located in /usr/local/Homebrew while native Homebrew is in /opt/homebrew.
Set alias
In your .zshrc,
# .zshrc
alias xbrew='arch -x86_64 /usr/local/Homebrew/bin/brew'
Opt out of analytics (Optional)
xbrew analytics off