Questions tagged [homebrew]
The homebrew tag has no summary.
96 questions
0 votes
1 answer
122 views
Unable to use zparseopts
I'm having issues with zparseopts and it looks like Brew didn't install it correctly. See this simple test below (all similar tests fail): ❯ short_test_zpo() { autoload -Uz zparseopts || { echo &...
0 votes
1 answer
130 views
tlrc not working with homebrew on mac for unknown reason
I installed the package using brew install as indicated in READ.me with no caveats, then installed rust because it was a missing dependency, and the command tlrc is not recognised still. Here's the ...
1 vote
1 answer
186 views
how to install brew forumlae simultaneously?
I tried this, I'll keep the list short: IFS=$'\n' pkgs=( go gcc make node ) installPkgs() { brew install $1 } export -f installPkgs parallel -j 0 installPkgs ::: ${pkgs[@]} This didn'...
26 votes
2 answers
38k views
What does command eval "$(/opt/homebrew/bin/brew shellenv)" actually do?
Homebrew requires us to add eval $(/opt/homebrew/bin/brew shellenv) to ~/.zprofile. What does this actually evaluate to and what does this accomplish? I am a bit new to shell scripting. I know $var is ...
1 vote
0 answers
403 views
gawk inplace error
How to change a file in-place using awk? (as with "sed -i") When I follow the solution above, I get the following error on mac. How to find why it does not work on mac? awk -i inplace '/...
1 vote
2 answers
999 views
Homebrew Installation Issue
Fairly new at Linux here and have a question about installing Homebrew. I'm using Centos7 and already updated all the required dependencies (cURL, etc.). When I run the Linux installation script ...
0 votes
1 answer
985 views
Brew no longer works - macOs 12.6
I work on macOs monterey 12.6 with a M1 pro chip. I was working on a project with php (8.1), composer and symfony installed and everything was working fine. I closed my terminal and since when I go ...
1 vote
1 answer
3k views
After restarting terminal, Brew commands not working and getting some error in terminal
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 ...