-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Install script does not correctly detect Arm64 chip #767
Comments
From where are you running this script? |
I'm not sure I understand the question. I'm running the command on my local macbook machine using iTerm. |
This means you are running your terminal in Rosetta mode. This will install the Rosetta version of Homebrew (x86_64). |
This will occur even if using the system bash ( |
Try
Though you should fix your terminal too. That'll cause you other surprises down the line. |
Thanks for the tip. I switched the terminal to the default system terminal (not iTerm) and I got the expected |
General tips I can give is: make sure the "Open in Rosetta" checkbox is not ticked (control-click iTerm -> Get Info), and make sure you're not using an old version of iTerm. |
I double checked this. "Open in Rosetta" is not checked for iTerm2. It's still puzzling to me as to why the application opens in x86_64 land in the first place. |
Because it's not an ARM app. |
Please note we will close your issue without comment if you delete, do not read or do not fill out the issue checklist below and provide ALL the requested information. If you repeatedly fail to use the issue template, we will block you from ever submitting issues to Homebrew again.
install
oruninstall
script?brew config
andbrew doctor
and included their output with your issue? If you couldn't install: provided your OS version with the output of your issue?What you were trying to do (and why)
Run the install script via the following command
Here are the system specs:
What happened (include command output)
It turns out that
UNAME_MACHINE="$(/usr/bin/uname -m)"
will still resolve tox86_64
(and NOTarm64
). The result is something like this:Command output
What you expected to happen
I would expect that the installation will take place in
/opt/homebrew
for the arm64 architecture.Step-by-step reproduction instructions (by running
brew
commands)/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
.The text was updated successfully, but these errors were encountered: