How can I find all installable versions with brew?
Solution 1:
The latest version of homebrew gives an error Error: Unknown command: versions
. This is because versions
has been obsoleted from homebrew.
Instead, use brew search elasticsearch
. This will give the available versions of elasticsearch.
Eg. elasticsearch ✔ [email protected]
Then run brew install [email protected]
You can check the final elasticsearch version by elasticsearch --version