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


Answers:


360

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

brew list将显示已安装软件包的列表。您还可以附加公式,例如,brew list postgres它将告诉您postgres安装的文件(前提是确实已安装)。

brew search <search term>将列出您可以安装的可能软件包。brew search post将返回多个可安装的名称为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就足够了。


By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.