not able to install homebrew on m1 MacBook #668
Replies: 20 comments 107 replies
-
Do you have Little Snitch? That often interferes with Homebrew. |
Beta Was this translation helpful? Give feedback.
-
See #666 (comment). It appears to me to be a GitHub issue, so there's not much we can do to help. I'd recommend opening a support ticket with GitHub. Hopefully, they can help you better than we can. |
Beta Was this translation helpful? Give feedback.
-
hi were you able to solved it |
Beta Was this translation helpful? Give feedback.
-
Type Run these commands into your terminal
|
Beta Was this translation helpful? Give feedback.
-
check for homebrew installation directory. then remove the whole directory and try installing again. Just run Sadly, the other solutions didn't work. |
Beta Was this translation helpful? Give feedback.
-
On my Mac M1 2020 it was |
Beta Was this translation helpful? Give feedback.
-
I had similar error due to network problems, this worked for me: I restarted my terminal and input this command After, i reran the Homebrew installation |
Beta Was this translation helpful? Give feedback.
-
or me first I uninstalled home-brew by using this command. and it worked. |
Beta Was this translation helpful? Give feedback.
-
This solved the issue for me https://issueexplorer.com/issue/Homebrew/install/548
|
Beta Was this translation helpful? Give feedback.
-
Hi, I'm new to brew and MacOS.
But installing command doesn't work, messages (contain err msg) are below: ==> This script will install: Press RETURN to continue or any other key to abort:
What can I do to fix this? Environment: Big Sur (ver. 11.6), M1 chip, MacBook air (late 2020) |
Beta Was this translation helpful? Give feedback.
-
This worked for me today: |
Beta Was this translation helpful? Give feedback.
-
I want to install brew on MacBook M1 Pro, but the procedures above don't work for me: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" But installing command doesn't work, messages (contain err msg) are below: Press RETURN to continue or any other key to abort: Help me! |
Beta Was this translation helpful? Give feedback.
-
I am also running into the issue for hours now and have tried all the solutions here but it's not working. ==> /usr/bin/sudo /usr/sbin/chown -R iamahedem:admin /opt/homebrew |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/uninstall.sh)" it worked for me , thank you |
Beta Was this translation helpful? Give feedback.
-
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" |
Beta Was this translation helpful? Give feedback.
-
I have the following error : |
Beta Was this translation helpful? Give feedback.
-
My mac os id 12.7 and trying to install homebrew using following command and getting error. |
Beta Was this translation helpful? Give feedback.
-
My mac os id 12.7 and trying to install homebrew using following command and getting error. Please advise /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" Press RETURN/ENTER to continue or any other key to abort:
|
Beta Was this translation helpful? Give feedback.
-
% /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" Press RETURN/ENTER to continue or any other key to abort:
Failed to query latest Homebrew/brew Git tag. Anybody know why does this error occurs? |
Beta Was this translation helpful? Give feedback.
-
I am getting this error, ps I am a noob and new to programming
Press RETURN to continue or any other key to abort
==> /usr/bin/sudo /usr/sbin/chown -R aa:admin /opt/homebrew
==> Downloading and installing Homebrew...
HEAD is now at 8de10a05b Merge pull request #10472 from MikeMcQuaid/new-issue-templates
error: Not a valid ref: refs/remotes/origin/master
fatal: ambiguous argument 'refs/remotes/origin/master': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git [...] -- [...]'
fatal: the remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
Error: Fetching /opt/homebrew/Library/Taps/homebrew/homebrew-core failed!
fatal: invalid upstream 'origin/master'
Failed during: /opt/homebrew/bin/brew update --force --quiet
Beta Was this translation helpful? Give feedback.
All reactions