title: How can I install Elasticsearch 5.3.1 with homebrew
body: <p>I have previously install elasticsearch 5.3.1 on my Mac using homebrew.  The latest elasticsearch on homebrew is now 5.5.0, so any new team members running the brew install would pick up that version.</p>
  
  <p>I noticed I have some index migration issue from elasticsearch 5.3.1 to 5.5.0, see
  <a href="https://stackoverflow.com/questions/45202984/delete-all-elasticsearch-indices-directly-without-curl">Delete all elasticsearch indices directly without curl</a></p>
  
  <p>Since we will be using Amazon elasticsearch service with is on 5.3, can we lock onto a specific version of elasticsearch (say 5.3.1) when we homebrew install?</p>
  
  <p>I don't see the older version (except for 2.4) when I do a brew search</p>
  
  <pre><code>$ brew search elasticsearch
  elasticsearch ✔                                      elasticsearch@2.4
  </code></pre>