# Installing specific elasticsearch version in Homebrew - Mac OS

**URL:** <https://discuss.elastic.co/t/installing-specific-elasticsearch-version-in-homebrew-mac-os/278586>\
**Category:** Elasticsearch\
**Created:** [July 13, 2021, 5:54pm UTC](https://discuss.elastic.co/t/installing-specific-elasticsearch-version-in-homebrew-mac-os/278586 "2021-07-13T17:54:18Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sandeep\_Raju](https://avatars.discourse-cdn.com/v4/letter/s/8797f3/32.png) [@Sandeep\_Raju](https://discuss.elastic.co/u/Sandeep_Raju)\
**Post date:** [July 13, 2021, 5:54pm UTC](https://discuss.elastic.co/t/installing-specific-elasticsearch-version-in-homebrew-mac-os/278586/1 "2021-07-13T17:54:18Z")

</div>

Hi all,

I'm having trouble in installing specific versions of elasticsearch in mac OS using Homebrew.

In Homebrew, I can only install the latest version which is available.  
If I want to install a version eg: 7.13.2 , I'm not getting an option.

I tried

```auto
brew install elastic/tap/elasticsearch@7.13.2

```

But it does'nt work.

It says 'Did you mean elastic/tap/elasticsearch-full?'  
If I say yes, it installs latest version.

Can anyone help me how to go about it?

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [July 21, 2021, 1:16pm UTC](https://discuss.elastic.co/t/installing-specific-elasticsearch-version-in-homebrew-mac-os/278586/2 "2021-07-21T13:16:19Z")

</div>

Would something like this work?

```auto
brew tap elastic/tap
brew install elastic/tap/elasticsearch-full@7.13.2

```

I did not test it.

---

<div class="post-metadata">

**Author:** ![Sandeep\_Raju](https://avatars.discourse-cdn.com/v4/letter/s/8797f3/32.png) [@Sandeep\_Raju](https://discuss.elastic.co/u/Sandeep_Raju)\
**Post date:** [July 22, 2021, 5:56am UTC](https://discuss.elastic.co/t/installing-specific-elasticsearch-version-in-homebrew-mac-os/278586/3 "2021-07-22T05:56:24Z")

</div>

I tried it, but it is not working.

I tried to install an older version from command:

```auto
apple$ brew install elastic/tap/elasticsearch-full@7.13.2

```

However it returns an error:

```auto
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
==> Searching for a previously deleted formula (in the last month)...
Error: No previously deleted formula found.

```

If I do:

```auto
brew search elasticsearch

```

It gives me existing versions in brew:

```auto
elastic/tap/elasticsearch-full ✔ elasticsearch@6
elasticsearch
It says " did you mean any of above?"

```

So i was looking for a turnaround for this.

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [July 22, 2021, 6:33am UTC](https://discuss.elastic.co/t/installing-specific-elasticsearch-version-in-homebrew-mac-os/278586/4 "2021-07-22T06:33:12Z")

</div>

I have no idea. IMO the goal of brew is to keep up to date the software you are using.

For development, I'm using Docker. Could you use the same?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [August 19, 2021, 6:33am UTC](https://discuss.elastic.co/t/installing-specific-elasticsearch-version-in-homebrew-mac-os/278586/5 "2021-08-19T06:33:22Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
