Homebrew installation on the new Mac(M1). #446
Replies: 5 comments 30 replies
-
You need to add Homebrew to your
then restart your terminal. This is actually what's suggested at the very end of the install script. |
Beta Was this translation helpful? Give feedback.
-
How can undelete this command? Cause I have uninstalled Homebrew and It keep on appear this warning when I open a new terminal /Users//.zprofile:1: no such file or directory: /opt/homebrew/bin/brew Thanks |
Beta Was this translation helpful? Give feedback.
-
Eventually understood the instructions and successfully downloaded brew, thank you all! Just wanted to clearly state the solution: COMPLETELY IGNORE "NEXT STEPS" SECTION COMMAND! COPY SOMEWHERE EXACT CODE SHOWN BELOW, CHANGE "YOURUSERNAME" - REMOVE AND REPLACE WITH YOUR MAC USERNAME: echo 'eval "$(/opt/homebrew/bin/brew)"' >> /Users/YOURUSERNAME/.zprofile SHOULD SHOW EXAMPLE USAGE: BREW COMMANDS, ie, brew search, brew info etc. TO DOUBLE-CHECK BREW INSTALLED: WILL RETURN VERSION INSTALLED |
Beta Was this translation helpful? Give feedback.
-
The solution does not work for me. When I open a new terminal, I need to re-run the command every time.
I updated my $HOME/.zprofile with the command but still I need to re-run this command when I start a new terminal. Any ideas? |
Beta Was this translation helpful? Give feedback.
-
After all this back and forth I have to say I'm quite confused now. Can I just get a final version of what the command should be? I mean just spelled out without take-backs? I'm scared of messing things up on my machine if I type it wrong. |
Beta Was this translation helpful? Give feedback.
-
I installed homebrew in my mac M1. It says installation successful but when I enter commands with brew, it gives brew command not found error. It was working before. I have been trying to install mongodb with brew and was getting errors so I uninstalled homebrew and got the command not found error after reinstalling it.
I tried installing it with Rosetta on and off.
Beta Was this translation helpful? Give feedback.
All reactions