How do I find a list of Homebrew's installable packages?

后端 未结 3 689

Recently I installed Brew. How can I retrieve a list of available brew packages to install?

相关标签:
3条回答
  • 2021-01-29 18:12

    Please use Homebrew Formulae page to see the list of installable packages. https://formulae.brew.sh/formula/

    To install any package => command to use is :

    brew install node

    0 讨论(0)
  • 2021-01-29 18:16

    brew help will show you the list of commands that are available.

    brew list will show you the list of installed packages. You can also append formulae, for example brew list postgres will tell you of files installed by postgres (providing it is indeed installed).

    brew search <search term> will list the possible packages that you can install. brew search post will return multiple packages that are available to install that have post in their name.

    brew info <package name> will display some basic information about the package in question.

    You can also search http://searchbrew.com or https://brewformulas.org (both sites do basically the same thing)

    0 讨论(0)
  • 2021-01-29 18:23

    From the man page:

    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.
    

    For your purposes, brew search will suffice.

    0 讨论(0)
提交回复
热议问题