# Install opensearch with Homebrew, Nix, pacman, apt

Open source distributed and RESTful search engine. Version 3.7.0 via Homebrew; verified 2026-06-22.

## Install

```sh
sudo av install brew:opensearch
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install opensearch
```

  Evidence: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#opensearch
```

  Evidence: nixpkgs package indexes: pkgs/by-name/op/opensearch/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S opensearch
```

  Evidence: Arch Linux sync databases: opensearch from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- Ubuntu apt (92%):

```sh
sudo apt install libopensearch-java
```

  Evidence: Ubuntu 24.04 LTS package indexes: libopensearch-java from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz

## Package facts

- **Package key:** brew:opensearch
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/opensearch>
- **Version:** 3.7.0
- **Source summary:** Open source distributed and RESTful search engine
- **Homepage:** <https://github.com/opensearch-project/OpenSearch>
- **Repository:** <https://github.com/opensearch-project/OpenSearch>
- **Upstream docs:** <https://docs.opensearch.org/>
- **License:** Apache-2.0
- **Source archive:** <https://github.com/opensearch-project/OpenSearch.git>
- **Last updated:** 2026-06-22T14:05:44-07:00
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- opensearch (cli)
- opensearch-keystore (cli)
- opensearch-plugin (cli)
- opensearch-shard (cli)
- opensearch (alias)
- opensearch-keystore (alias)
- opensearch-plugin (alias)
- opensearch-shard (alias)

## Dependencies

- openjdk@25

## Install behavior

- Post-install hook: defined
- Service: declared
- Caveats: Data: $HOMEBREW_PREFIX/var/lib/opensearch/ Logs: $HOMEBREW_PREFIX/var/log/opensearch/opensearch_homebrew.log Plugins: $HOMEBREW_PREFIX/var/opensearch/plugins/ Config: $HOMEBREW_PREFIX/etc/opensearch/
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 3.7.0
- Package-manager updated: 2026-06-22
- Local data: ok
- Upstream repository: https://github.com/opensearch-project/OpenSearch
- info: No cached GitHub release or tag data was available.
## Project history and usage

OpenSearch is an Apache-2.0 distributed search and analytics engine based on Apache Lucene. It indexes and queries text, logs, metrics, traces, vectors, and operational data, and it forms the engine side of the OpenSearch suite together with OpenSearch Dashboards.

### Project history

AWS announced OpenSearch in April 2021 as a community-driven open source fork of Elasticsearch and Kibana, derived from Elasticsearch 7.10.2 and Kibana 7.10.2. The project also became the home for features from Open Distro for Elasticsearch, including security, alerting, machine learning, SQL, index state management, and related functionality.

The public fork work began before announcement. OpenSearch maintainers said they started preparing the codebase for public release on January 21, 2021, migrated 7.10 branch history for attribution, and removed code incompatible with Apache License 2.0.

OpenSearch 1.0 reached general availability in July 2021 as the first production-ready release. In September 2024, AWS transferred OpenSearch into the OpenSearch Software Foundation under the Linux Foundation, a governance change intended to support vendor-neutral collaboration around search, analytics, observability, and vector database software.

### Adoption history

OpenSearch attracted early public support from organizations that depended on Apache-licensed Elasticsearch-compatible software, including Red Hat, SAP, Capital One, and Logz.io in the launch announcement. The project later gained a Linux Foundation home with premier members including AWS, SAP, and Uber.

Managed service adoption is an important part of the project's footprint. Amazon OpenSearch Service provides hosted OpenSearch clusters and supports OpenSearch plus legacy Elasticsearch OSS up to 7.10, making the open source package and the cloud service part of the same migration story for many operators.

### How it is used

Developers and operators run OpenSearch clusters for full-text search, log analytics, observability, security analytics, application search, and vector or hybrid retrieval workloads. The official getting-started documentation describes OpenSearch as a distributed search and analytics engine based on Apache Lucene, with fielded search, multi-index search, scoring, sorting, and aggregations.

The Homebrew package exposes the server plus administrative helpers such as `opensearch-plugin`, `opensearch-keystore`, and `opensearch-shard`. In practice that means a local package install can run a development node, test plugins, manage secure settings, or inspect shard-level data without a full managed service.

### Why package nerds care

OpenSearch is package-nerd catnip because it is a fork where packaging, licensing, compatibility, and ecosystem governance are inseparable. The formula ships a JVM search server, plugin interface, config tree, and operational commands whose version must align with Dashboards and client libraries.

Its upgrade paths from Elasticsearch OSS and Open Distro make it a live example of package lineage: one dependency graph, one API surface, and one file-format ecosystem had to be carried across a fork while preserving operator trust.

### Timeline

- 2021-01-21: Maintainers began preparing the OpenSearch and Dashboards forks for public release.
- 2021-04-12: AWS announced OpenSearch as a fork of Elasticsearch and Kibana.
- 2021-07-12: OpenSearch 1.0 reached general availability.
- 2024-09-16: The OpenSearch Software Foundation launched under the Linux Foundation and OpenSearch moved to that foundation.

### Related projects

- OpenSearch is paired with OpenSearch Dashboards and descends from Elasticsearch OSS. Related OpenSearch ecosystem projects include OpenSearch plugins, Data Prepper, client libraries, and managed services such as Amazon OpenSearch Service.

### Sources

- <https://aws.amazon.com/blogs/opensource/introducing-opensearch/>
- <https://docs.aws.amazon.com/opensearch-service/latest/developerguide/what-is.html>
- <https://docs.opensearch.org/latest/getting-started/>
- <https://formulae.brew.sh/formula/opensearch>
- <https://forum.opensearch.org/t/preparing-opensearch-and-opensearch-dashboards-for-release/5567>
- <https://github.com/opensearch-project/OpenSearch>
- <https://opensearch.org/about/>
- <https://opensearch.org/blog/opensearch-general-availability-announcement/>
- <https://opensearch.org/faq/>
- <https://www.linuxfoundation.org/press/linux-foundation-announces-opensearch-software-foundation-to-foster-open-collaboration-in-search-and-analytics>


## Security Notes

formula declares a Homebrew service.

- **Geiger risk:** orange / medium
- formula declares a Homebrew service


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Linux: /etc/opensearch/opensearch.yml
- Unix: /usr/share/opensearch/config/opensearch.yml, /path/to/opensearch-3.7.0/config/opensearch.yml
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** opensearch
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## Other Package-Manager Records

- Nix - opensearch: normalized package name match | nixpkgs package indexes: pkgs/by-name/op/opensearch/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - libopensearch-java - 2.4.1+dfsg-2: normalized package name match | Ubuntu 24.04 LTS package indexes: libopensearch-java from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | text search engine library | https://www.opensearch.org
- pacman - opensearch - 3.6.0-3: normalized package name match | Arch Linux sync databases: opensearch from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Open source distributed and RESTful search engine | https://docs.opensearch.org/latest/about/


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [openjdk@25](https://www.automicvault.com/pkg/brew/openjdk-25/) - Runtime dependency declared by Homebrew.
- [groonga](https://www.automicvault.com/pkg/brew/groonga/) - Shares av.db curated category or tags: cli, data, search, search-engine.
- [hyperestraier](https://www.automicvault.com/pkg/brew/hyperestraier/) - Shares av.db curated category or tags: cli, data, search, search-engine.
- [manticoresearch](https://www.automicvault.com/pkg/brew/manticoresearch/) - Shares av.db curated category or tags: cli, data, search, search-engine.
- [meilisearch](https://www.automicvault.com/pkg/brew/meilisearch/) - Shares av.db curated category or tags: cli, data, rest-api, search, search-engine.
- [omega](https://www.automicvault.com/pkg/brew/omega/) - Shares av.db curated category or tags: cli, data, search, search-engine.
- [opensearch-dashboards](https://www.automicvault.com/pkg/brew/opensearch-dashboards/) - Shares av.db curated category or tags: analytics, cli, data, search.
- [solr](https://www.automicvault.com/pkg/brew/solr/) - Shares av.db curated category or tags: analytics, cli, data, search.
- [tokyo-dystopia](https://www.automicvault.com/pkg/brew/tokyo-dystopia/) - Shares av.db curated category or tags: cli, data, search, search-engine.
- [libpostal-rest](https://www.automicvault.com/pkg/brew/libpostal-rest/) - Local package facts share a topical domain. Shared terms: api, cli, data, rest, rest-api.

## Combined YAML source

View the package source record on GitHub. [combined/opensearch.yml](https://github.com/automic-vault/db/blob/main/combined/opensearch.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
