如何找到Homebrew可安装软件包的列表?

问题描述 投票:236回答:3

最近我安装了Brew。如何检索要安装的可用brew包列表?

macos list install packages homebrew
3个回答
356
投票

brew help将显示可用命令列表。

brew list将显示已安装软件包的列表。你也可以附加公式,例如brew list postgres会告诉你postgres安装的文件(假设它确实安装了)。

brew search <search term>将列出您可以安装的可能包。 brew search post将返回多个可在其名称中包含帖子的安装包。

brew info <package name>将显示有关该包装的一些基本信息。

你也可以搜索http://searchbrew.comhttps://brewformulas.org(这两个网站做的基本相同)


18
投票

从手册页:

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就足够了。


1
投票

请使用Homebrew Formulas页面查看可安装包列表。 https://formulae.brew.sh/formula/

要安装任何package =>命令,请使用:

brew安装节点

© www.soinside.com 2019 - 2024. All rights reserved.