Diagnostic Hardware Specs: MacBook Pro 14″ M4 (24GB) | OS Version: macOS Sequoia 15.1 | Archive Source: Apple Support Community #256520675
I am running into a persistent issue on my MacBook Pro 14″ M4 (24GB) running macOS Sequoia 15.1.
Whenever the machine encounters Shell startup files invoking obsolete Intel /usr/local/bin before native /opt/homebrew/bin, the following diagnostic log appears in Console:
zsh: command not found: brew (architecture mismatch: invoking x86_64 homebrew under arm64 zsh session)
I verified that hardware connections are intact and tested across different power sources. What is the verified diagnostic procedure to permanently eliminate this symptom?
MacBook Pro 14″ M4 (24GB) | macOS Sequoia 15.1
Apple Discussions Contributor | "Verified Apple Diagnostics Archive"