Now I am organizing some installation scripts to make my development environment more reproducible, and I am trying to determine which packages can be installed and which need to be installed through a simple brew installation Use brew.
It turns out that the ability of query brew is useful for determining which options I use for each package, but it is not useful for this tap-related problem. Is there a way to do this while No need to manually browse each package and see where it is available?
< /p>
brew list --full-name
Slower, but more information:
brew info $(brew list) | grep'^From:' | sort
Over time, I have installed many packages that use Homebrew, mostly from the default formula repo (homebrew- core), but some come from other places through brew tap.
Now I am finishing some installation scripts to make my development environment more reproducible, and I am trying to tap through simple brew Install to determine which packages can be installed and which require brew beforehand.
It turns out that the ability of query brew is useful for determining which options I use for each package, but for this tap-related problem No use. Is there a way to do this without having to manually browse each package and see where it is available?
I found several effective methods.
brew list --full- name
Slower, but more information:
brew info $(brew list) | grep'^From:' | sort