49
votes

Is there a way to obtain a list (possibly with descriptions) of all the casks installable with Homebrew Cask?

8

8 Answers

53
votes

The new way to list all installable cask packages is:

brew search --casks

The man page for brew has the following information:

search --casks

Display all locally available casks (including tapped ones). No online search is performed.

23
votes

Brew search now has a --desc flag.

This lists all of them with the description:

brew search --casks --desc ''
13
votes

List using a browser

  1. Visit the website https://formulae.brew.sh/
  2. Use * as search string and all the casks will be displayed

List using the command line

for cask in $(brew search); do
    brew cask info $cask;
done
7
votes

Run brew search without argument to list all of them. You won’t get descriptions, thought.

2
votes

The installable list is 7000+ casks. You, of course, can grep the result.., but more practical is to list some subset of the installable casks using search command:

brew search [YOUR-SEARCH-SUBSTRING]

It will print you 2 groups. The first group will be installable ==> Formulae, if any. The second group will be ==> Casks


For example, if you are looking for Beaver DB browser, you can type either:

brew search Beaver

---- Output ----
==> Casks
dbeaver-enterprise   dbeaver-enterprise   swiftybeaver         swiftybeaver

or:

brew search DB

---- Output ----
==> Formulae
ansible-cmdb              dbmate                    lbdb                      [email protected]              questdb
...
==> Casks
1password-beta                             dynamodb-local                             mongodb-compass-readonly
actual-odbc-pack                           dynamodb-local                             mongodbpreferencepane
actual-odbc-pack                           exist-db                                   mongodbpreferencepane
apache-couchdb                             exist-db                                   navicat-for-mariadb
apache-couchdb                             flvcd-bigrats                              navicat-for-mariadb
arq-cloud-backup                           flvcd-bigrats                              nosql-workbench-for-amazon-dynamodb
arq-cloud-backup                           gcollazo-mongodb                           nosql-workbench-for-amazon-dynamodb
db-browser-for-sqlite                      gcollazo-mongodb                           nosqlbooster-for-mongodb
db-browser-for-sqlite                      handbrake                                  nosqlbooster-for-mongodb
dbeaver-community ✔                        handbrake                                  omnidb
dbeaver-community ✔                        handbrake-nightly                          omnidb
dbeaver-enterprise                         handbrakebatch                             rekordbox
dbeaver-enterprise                         handbrakebatch                             rekordbox
dbglass                                    hex-fiend-beta                             soundboosterlite
dbglass                                    macgdbp                                    soundboosterlite
dbkoda                                     macgdbp                                    sql-power-architect-jdbc
dbkoda                                     mongodb-compass                            sql-power-architect-jdbc
dbngin                                     mongodb-compass                            thingsmacsandboxhelper
dbngin                                     mongodb-compass-beta                       thingsmacsandboxhelper
dbschema                                   mongodb-compass-community                  thunderbird-beta
dbschema                                   mongodb-compass-community                  wireshark-chmodbpf
dbvisualizer                               mongodb-compass-isolated-edition           wireshark-chmodbpf
dbvisualizer                               mongodb-compass-isolated-edition
deadbeef-devel                             mongodb-compass-readonly

the mark indicates installed casks.

1
votes

There's a new GUI that enables quick browsing on all the Homebrew packages.

You might want to try out Cakebrew

Also worth noting the analytics data of the top downloads of all cask packages in the past 365 days: https://formulae.brew.sh/analytics/

1
votes

Multiple ways to do, collating different answers:

  1. for cask in $(brew search); do
        brew cask info $cask; done
    
  2. brew search --casks

  3. brew search
0
votes

Slight modification to the answer above:

for cask in $(brew search --casks); do
    brew cask info $cask;
done