Automic VaultAutomic Vault

brew

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

Additional install commands

macOS

Homebrewverified · 100%
brew install opensearch

local Homebrew formula metadata

Linux

Nixverified · 92%
nix profile install nixpkgs#opensearch

nixpkgs package indexes · pkgs/by-name/op/opensearch/package.nix · source: api.github.com

Arch Linux pacmanverified · 92%
sudo pacman -S opensearch

Arch Linux sync databases · opensearch · source: geo.mirror.pkgbuild.com

Ubuntu aptverified · 92%
sudo apt install libopensearch-java

Ubuntu 24.04 LTS package indexes · libopensearch-java · source: archive.ubuntu.com

overview

Package summary

Open source distributed and RESTful search engine

Commands and aliases

  • opensearch
  • opensearch-keystore
  • opensearch-plugin
  • opensearch-shard

history

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

security posture

Risk level: orange

formula declares a Homebrew service.

Risk classifier

orange risk · medium confidence · infrastructure

Why

  • formula declares a Homebrew service

Signals

  • metadata:service

Install behavior

  • Homebrew declares a post-install hook for this formula.
  • Formula metadata declares a service or daemon block.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 1 runtime dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

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

Config paths the tool may read or write during local use.

Linux
/etc/opensearch/opensearch.yml
Unix
/usr/share/opensearch/config/opensearch.yml/path/to/opensearch-3.7.0/config/opensearch.yml

executables

Installed executables

CommandKindExposureNote
opensearchcliglobal executable
opensearch-keystorecliglobal executable
opensearch-plugincliglobal executable
opensearch-shardcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version3.7.0
manager updated2026-06-22
local dataok
upstreamnot checked
latest detectednot detected

https://github.com/opensearch-project/OpenSearch

install metadata

Package metadata

Package keybrew:opensearch
Version3.7.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/opensearch
Homepagehttps://github.com/opensearch-project/OpenSearch
Repositoryhttps://github.com/opensearch-project/OpenSearch
Upstream docshttps://docs.opensearch.org/
LicenseApache-2.0
Source archivehttps://github.com/opensearch-project/OpenSearch.git
Last updated2026-06-22T14:05:44-07:00
Pulseupdated
Dependenciesopenjdk@25
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installdefined
Servicedeclared
CaveatsData: $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/

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameopensearch
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

opensearch

nix profile install nixpkgs#opensearch
  • normalized package name match
  • Matched by: Opensearch
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/op/opensearch/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

libopensearch-java 2.4.1+dfsg-2

text search engine library

https://www.opensearch.org

sudo apt install libopensearch-java
  • Section: universe/java
  • Architecture: all
  • Source Package: opensearch
  • 21 dependencies
  • normalized package name match
  • Matched by: Opensearch
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libopensearch-java from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
pacman95%

opensearch 3.6.0-3

Open source distributed and RESTful search engine

https://docs.opensearch.org/latest/about/

sudo pacman -S opensearch
  • License: Apache-2.0
  • Architecture: x86_64
  • 3 dependencies
  • 32 optional deps
  • normalized package name match
  • Matched by: Opensearch
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: opensearch from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

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