KARUKERA
KARUKERA

Reputation: 1

Update to a specific version with Homebrew

I have already installed version 6.1 of elasticsearch and I want to update it to aspecific version 6.8: how I can do that easy on my mac ?

I have already installed version 6.1 of elasticsearch

Upvotes: 0

Views: 845

Answers (1)

bfontaine
bfontaine

Reputation: 19835

Homebrew can’t update to a specific version unless it has a formula (= package specification) for it. Regarding ElasticSearch, it has the following formulae:

$ brew search elasticsearch
==> Formulae
elasticsearch
[email protected]
[email protected]

The elasticsearch formula is currently installing ES 6.8.1:

$ brew info elasticsearch
elasticsearch: stable 6.8.1, HEAD
Distributed search & analytics engine
...

It means that if you want ElasticSearch 6.8, you just need to brew install elasticsearch.

Upvotes: 1

Related Questions