After restarting terminal, Brew commands not working and getting some error in terminal
1
vote
1
answer
2870
views
I have macOS Monterey(v12.3) and had installed brew with exact guidelines shown in youtube videos. But brew commands work only if I run in the same terminal session. When I restart the terminal and try to run the brew command it shows the following error:
zsh: command not found: brew
I have tried to install the brew multiple time but every time same thing happens. I am new to MacOS. Please help.

Asked by Saurabh
(13 rep)
Sep 4, 2022, 06:01 AM
Last activity: Mar 8, 2023, 11:41 AM
Last activity: Mar 8, 2023, 11:41 AM