How do I list all formulas I installed with brew install --HEAD. Certain formulas depend of more recent version of a formula and upgrade every time I run brew upgrade if a commit has been pushed, I wish to check if the dependency has been satisfied and install normal version.

This was the case where neovim nightly(5.0.0) where it required HEAD version of luarocks (Undocumented in release page) and recently just works with normal installation

  • Does this answer your question? brew: create install script for all installed packages/casks – fsb May 3 at 13:29
  • 1
    @fsb brew bundle doesn't differenatiate between HEAD and normal release – mTvare May 3 at 13:31
  • 1
    Welcome to Ask Different. This seems like an XY question. What are you trying to do with this once you have a list? There may be an easier way to accomplish the end goal - but it’s ok to just ask this if you can clarify what you expect the results to look like. – bmike May 3 at 13:37
  • Why do you need to chase most recent commit in the first place? – Marc Wilson May 3 at 17:47

brew list --versions | grep HEAD

$ brew list --versions | grep HEAD
libimobiledevice HEAD-bfaf1a1
libusbmuxd HEAD-73cb5c1

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .