Diagnostic Hardware Specs: Mac mini M4 (16GB) | OS Version: macOS Sonoma 14.7 | Archive Source: Apple Support Community #256404350
I am running into a persistent issue on my Mac mini M4 (16GB) running macOS Sonoma 14.7.
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 Air 15″ M3 (24GB) | CalDigit TS4 Dock | Kensington Orbit | Gothenburg, SE
Enterprise Mac Sysadmin & Jamf Pro Architect | "Verified Apple Discussions Archive"