Editorial question70.1K views3,018 votes0 answers2,715 following
AI-generatedHomebrew prefix transition from /usr/local to /opt/homebrew breaks CI build scripts
Homebrew changed its default installation prefix when Apple Silicon was introduced, moving from /usr/local to /opt/homebrew . Build scripts and application configurations that hardcode the legacy Intel path continue to work on older machines but fail when the same repository is built on an arm64 CI runner. The documented brew shellenv command is intended to