macOS
brew install opalocal Homebrew formula metadata
brew
Open source, general-purpose policy engine. Version 1.18.2 via Homebrew; verified 2026-07-02.
install
brew install opalocal Homebrew formula metadata
sudo apk add opaAlpine Linux edge package indexes · opa · source: dl-cdn.alpinelinux.org
sudo zypper install opaopenSUSE Tumbleweed package metadata · opa · source: download.opensuse.org
scoop install main/opaScoop official bucket manifest trees · bucket/opa.json · source: api.github.com
overview
Open source, general-purpose policy engine
history
Open Policy Agent, usually invoked as opa, is a general-purpose policy engine for policy-as-code. It lets teams move authorization and operational policy out of application code into Rego policies evaluated by a standalone binary, sidecar, library, or service integration.
OPA was created to provide a unified policy decision point across the stack. The official docs describe it as an open-source, general-purpose policy engine with simple APIs for offloading policy decisions and a high-level declarative language, Rego, for writing policies against structured data.
OPA entered the Cloud Native Computing Foundation on March 29, 2018, moved to Incubating on April 2, 2019, and reached Graduated maturity on January 29, 2021. CNCF's graduation announcement emphasized open governance, feature maturity, sustainability, and production use across cloud-native environments.
By the 2021 CNCF graduation announcement, OPA had more than 90 contributors from roughly 30 organizations, maintainers from Google, Microsoft, VMware, and Styra, and production adoption at organizations including Goldman Sachs, Netflix, Pinterest, and T-Mobile. CNCF also reported survey data from more than 150 organizations, with 91% using OPA in some stage from QA to production.
OPA's ecosystem expanded through Kubernetes admission control, Envoy authorization, CI/CD checks, API gateways, service meshes, and infrastructure-as-code validation. Gatekeeper became the Kubernetes-native policy-controller companion, while related tools such as Conftest and OPA's official ecosystem entries made the opa binary useful both in clusters and in developer workflows.
Developers write Rego policies and feed OPA JSON-like input and data. The opa CLI is used to run policies locally, test Rego, build bundles, evaluate decisions, and support CI checks; services can call OPA over APIs or embed policy evaluation into a broader control plane.
Platform and security teams use OPA to enforce Kubernetes admission rules, API authorization, deployment guardrails, configuration rules, and audit policies without hard-coding every rule in each application. The same policy language can be reused from local command-line checks to production admission controllers.
OPA is one of the canonical examples of a single CLI package representing a much larger cloud-native control-plane concept. The Homebrew formula is just opa, but the binary brings a policy language, evaluator, test runner, bundle format, server mode, WebAssembly targets, and a CNCF ecosystem with it.
security posture
No matching local secret-handling manifest was found for opa. Nucleus package metadata is still published here so future coverage has a stable package URL.
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
opa | cli | global executable |
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.
https://github.com/open-policy-agent/opa
install metadata
| Package key | brew:opa |
|---|---|
| Version | 1.18.2 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/opa |
| Homepage | https://www.openpolicyagent.org |
| Repository | https://github.com/open-policy-agent/opa |
| Upstream docs | https://www.openpolicyagent.org/docs/latest |
| License | Apache-2.0 |
| Source archive | https://github.com/open-policy-agent/opa/archive/refs/tags/v1.18.2.tar.gz |
| Last updated | 2026-07-02T16:41:00Z |
| Pulse | updated |
| Build dependencies | go |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | opa |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
opa 1.15.2-r1
Open source, general-purpose policy engine
https://www.openpolicyagent.org/
sudo apk add opaopa-bash-completion 1.15.2-r1
Bash completions for opa
https://www.openpolicyagent.org/
sudo apk add opa-bash-completionopa-doc 1.15.2-r1
Open source, general-purpose policy engine (documentation)
https://www.openpolicyagent.org/
sudo apk add opa-docopa-fish-completion 1.15.2-r1
Fish completions for opa
https://www.openpolicyagent.org/
sudo apk add opa-fish-completionopa-zsh-completion 1.15.2-r1
Zsh completions for opa
https://www.openpolicyagent.org/
sudo apk add opa-zsh-completionopa 1.17.1-1.1
Open source, general-purpose policy engine
https://github.com/open-policy-agent/opa
sudo zypper install opaopa-bash-completion 1.17.1-1.1
Bash Completion for opa
https://github.com/open-policy-agent/opa
sudo zypper install opa-bash-completionopa-fish-completion 1.17.1-1.1
Fish Completion for opa
https://github.com/open-policy-agent/opa
sudo zypper install opa-fish-completionopa-zsh-completion 1.17.1-1.1
Zsh Completion for opa
https://github.com/open-policy-agent/opa
sudo zypper install opa-zsh-completionmain/opa
scoop install main/opasource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.