Skip to content

Instantly share code, notes, and snippets.

@externvoid
Created September 4, 2019 02:12
Show Gist options
  • Save externvoid/f83c2b7cc7d7906ef0edc47092e0dc4f to your computer and use it in GitHub Desktop.
Save externvoid/f83c2b7cc7d7906ef0edc47092e0dc4f to your computer and use it in GitHub Desktop.
Advanced Brew command usage

search repository with a specific key word

> brew search tor
==> Formulae
actor-framework                          mogenerator
artifactory                              monitoring-plugins
asciidoctor                              mysql-connector-c
asciidoctorj                             mysql-connector-c++
(The rest are ommited.)

tor repository is found around the bottom because of alphabetical order.

search repository with more direct key word

> brew search /^tor/
==> Formulae
tor                        torrentcheck               torsocks

The above procedure shows directly whether tor command is in the home brew repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment