"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: 17 comments 53 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.
-
您好,来信业已收到。
Your letter has been received. Bset wishes.
|
Beta Was this translation helpful? Give feedback.
-
Suddenly, you can use this command: hash -r |
Beta Was this translation helpful? Give feedback.
-
I tried this /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/uninstall.sh)" as it said in instuctions and I get endless "y". What's goin on? |
Beta Was this translation helpful? Give feedback.
-
Thank you for the answer. After y/no I teped “yes”, and I typed yes.On May 28, 2024, at 10:03 PM, OldSubSailor ***@***.***> wrote:
Just to verify, you pasted this command line into terminal and only pressed enter/return one time?
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
it sure sounds like your return key got held down/bounced.
the y/N option should only show up once.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
All you type is y, not yes. Best of luck. |
Beta Was this translation helpful? Give feedback.
-
您好,来信业已收到。
Your letter has been received. Bset wishes.
|
Beta Was this translation helpful? Give feedback.
From the output: