"brew: command not found" after installation 🤔 #775
-
Hello, I have a new mac and I have just installed homebrew successfully. But now I get "brew: command not found" when I try to brew install anything or access brew doctor. Can anyone lend a hand? Many thanks!
|
Beta Was this translation helpful? Give feedback.
Replies: 11 comments 43 replies
-
From the output:
|
Beta Was this translation helpful? Give feedback.
-
Thank you!
…On Thu, 11 Feb 2021, 16:28 Sean Molenaar, ***@***.***> wrote:
Because changing a users environment makes (or should make) people very
nervous about security.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#775 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ARJTW3AK5SR2OUMEIKNSXRTS6QATJANCNFSM4XPBQNVQ>
.
|
Beta Was this translation helpful? Give feedback.
-
hi, @ffortitude @SMillerDev same thing happened. However, pasting those 2 commands is not working either because it is not taking any input no matter how many times I quit and reopen |
Beta Was this translation helpful? Give feedback.
-
echo 'eval $(/opt/homebrew/bin/brew shellenv)' >> /Users/homefolder/.zprofile For me it worked only by issuing both commands as one command (type/paste both then run, as above). Wouldn't work otherwise. But it did work. |
Beta Was this translation helpful? Give feedback.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
-
using the two commands in next steps worked, then openin ~/.zprofile file and eliminating all spaces and then using |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
It will depend on what terminal you are using. ( |
Beta Was this translation helpful? Give feedback.
This comment was marked as spam.
This comment was marked as spam.
-
hi, I'm new to programming and I wanted to download homebrew to download maven for java, ==> This script will install: |
Beta Was this translation helpful? Give feedback.
From the output: