最近我安装了Brew。如何检索要安装的可用brew包列表?
brew help
将显示可用命令列表。
brew list
将显示已安装软件包的列表。你也可以附加公式,例如brew list postgres
会告诉你postgres安装的文件(假设它确实安装了)。
brew search <search term>
将列出您可以安装的可能包。 brew search post
将返回多个可在其名称中包含帖子的安装包。
brew info <package name>
将显示有关该包装的一些基本信息。
你也可以搜索http://searchbrew.com或https://brewformulas.org(这两个网站做的基本相同)
从手册页:
search, -S text|/text/ Perform a substring search of formula names for text. If text is surrounded with slashes, then it is interpreted as a regular expression. If no search term is given, all available formula are displayed.
为了您的目的,brew search
就足够了。