Mac M1 Warning: /opt/homebrew/bin is not in your PATH. #938
-
Hello, I am a beginner and I am trying to install Homebrew on my M1 Mac mini. The installation went okay but I had the following appear at the end of the installation.
My question is where is this file, how do I edit it and what do I actually insert into the file? Kind Regards |
Beta Was this translation helpful? Give feedback.
Replies: 8 comments 35 replies
-
You can do this by running
|
Beta Was this translation helpful? Give feedback.
-
Hello, have some problem… I did this
All works Then I restart my Terminal I can write it* and all will be ok but I need do it always when I open my terminal app, how to fix it?
|
Beta Was this translation helpful? Give feedback.
-
@gromgit Good call on logging out and in again to update the .zprofile.
Then I tested brew out by installing the github CLI. Thanks all! 🤙 |
Beta Was this translation helpful? Give feedback.
-
Solved by added to .zprofile echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> /Users/macbookpro/.zprofile the path of might change a bit depend on computer path, so please copy your own error missing path |
Beta Was this translation helpful? Give feedback.
-
I added |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
For me writing into |
Beta Was this translation helpful? Give feedback.
-
Hello, when I was trying to install
Hope this works :) |
Beta Was this translation helpful? Give feedback.
.zprofile
, if it exists, is in/Users/jasonnewton
. You need to inserteval $(/opt/homebrew/bin/brew shellenv)
into.zprofile
.You can do this by running