Homebrew recently deprecated homebrew/versions
in favour of making versions available on homebrew/core
via the new formula@version
format. For example (as per this answer), you can do brew install [email protected]
.
Of course, this doesn't work for arbitrary versions. For instance, install [email protected]
turns up "Error: No formulae found in taps".
Under the old method, I could run brew versions <formula>
to see available versions. How do I list available versions now?
You can search versions using brew search
.
For example:
$ brew search postgresql
postgresql ✔ [email protected] [email protected]