Reputation: 295
i have to follow these steps every time: in order to use brew command in terminal,
Add Homebrew to your PATH in /Users/$USER/.zprofile:
echo 'eval $(/opt/homebrew/bin/brew shellenv)' >> /Users/$USER/.zprofile
eval $(/opt/homebrew/bin/brew shellenv)
Copy and paste the first line on the same terminal window, then hit enter
echo 'eval $(/opt/homebrew/bin/brew shellenv)' >> /Users/$USER/.zprofile
Then Copy and paste the last line on the same terminal window, then hit enter
eval $(/opt/homebrew/bin/brew shellenv)
[3:04 PM]
Is it possible to use brew command without these steps?
Upvotes: 1
Views: 3297
Reputation: 127
You can follow below steps to solve this issue:
This should work.
Upvotes: 1