Homebrew: list the packages installed from taps?

前端 未结 2 1920
后悔当初
后悔当初 2020-12-28 17:25

Over time, I\'ve installed a number of packages with Homebrew, mostly from the default repo of formulae (homebrew-core), but some from other locations via brew tap

相关标签:
2条回答
  • 2020-12-28 17:52

    This expression would return a list of installed 3rd party packages only:

    brew list --full-name -1 | grep /
    

    …for the respective list of taps in use, try:

    brew list --full-name -1 | grep / | cut -d"/" -f1 -f2 | sort | uniq
    
    0 讨论(0)
  • 2020-12-28 18:13

    I found a couple ways that work.

    brew list --full-name
    

    Slower, but a little more informative:

    brew info $(brew list) | grep '^From:' | sort
    
    0 讨论(0)
提交回复
热议问题