Skip to content

zsh under MacOS uses the x86_64 binary #5497

Answered by gromgit
nwin asked this question in Getting started
Discussion options

You must be logged in to vote

What's the output of which brew? I'm betting you get /usr/local/bin/brew, which conflicts with all the Homebrew environment variables that were set up with eval "$(/opt/homebrew/bin/brew shellenv)" in your shell startup.

Check your PATH, you almost certainly have /usr/local/bin before /opt/homebrew/bin, likely because you added it after the brew shellenv line in your shell startup file.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@nwin
Comment options

@p-linnane
Comment options

Answer selected by nwin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants