Trouble with HomeBrew

390 Views Asked by At

I'm having trouble searching for the list of all casks when I run the command for it.

brew search --casks

I get the error you see in the picture.

Error: Invalid usage: This command requires at least 1 text or regex argument.

Screenshot of console

If anyone has had similar problems please share.

1

There are 1 best solutions below

0
On

You need at least one string to search for.

$ brew search --casks fire
==> Casks
firefly                    firealpaca                 firestorm
firefox-beta               firebase-admin             firestormos
firefox-developer-edition  firebird-emu               fireworks
firefox-esr                firecamp                   multifirefox
firefox-nightly            firefox ✔                  spitfire-audio

If you really need to find all available casks, you can use an empty arg like this:

brew search --casks ''