During the installation of homebrew I got;
Run these two commands in your terminal to add Homebrew to your PATH:
(echo; echo 'eval "$(/opt/homebrew/bin/brew shellenv)"') >> /Users/maamir/.zprofile
eval "$(/opt/homebrew/bin/brew shellenv)"
when running the first command, I got the following error
maamir@MacBook-Air-2 ~ % (echo; echo 'eval "$(/opt/homebrew/bin/brew shellenv)"') >> /Users/maamir/.zprofile
zsh: no such file or directory: /Users/maamir/.zprofile
I tried running the commands together, and one after another and don’t know what I am missing. Very new to coding (clearly)
New contributor
M Aamir Mehmood is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.