Homebrew: list the packages installed from taps?

前端 未结 2 1934
后悔当初
后悔当初 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
    

提交回复
热议问题