# Install regal with Homebrew, apk, Nix, zypper

Linter and language server for Rego. Version 0.42.0 via Homebrew; verified 2026-07-16. Also installable with nix: nix profile install nixpkgs#regal.

## Install

```sh
sudo av install brew:regal
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install regal
```

  Evidence: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add regal
```

  Evidence: Alpine Linux edge package indexes: regal from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

- Nix (92%):

```sh
nix profile install nixpkgs#regal
```

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

- zypper (92%):

```sh
sudo zypper install regal
```

  Evidence: openSUSE Tumbleweed package metadata: regal from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

## Package facts

- **Package key:** brew:regal
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/regal>
- **Version:** 0.42.0
- **Source summary:** Linter and language server for Rego
- **Homepage:** <https://www.openpolicyagent.org/projects/regal>
- **Repository:** <https://github.com/open-policy-agent/regal>
- **Upstream docs:** <https://www.openpolicyagent.org/projects/regal>
- **License:** Apache-2.0
- **Source archive:** <https://github.com/open-policy-agent/regal/archive/refs/tags/v0.42.0.tar.gz>
- **Last updated:** 2026-07-16T15:39:31Z
- **Generated:** 2026-07-26T07:20:29+00:00

## Executables

- regal (cli)
- regal (alias)

## Build dependencies

- go

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-26
- Package-manager version: 0.42.0
- Package-manager updated: 2026-07-16
- Local data: ok
- Upstream repository: https://github.com/open-policy-agent/regal
- Upstream latest detected: v0.42.0 (current)

## Security Notes

broad file, network, media, or database tool signal.

- **Geiger risk:** blue / medium
- broad file, network, media, or database tool signal


## 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

- Unix: .regal/config.yaml, .regal.yaml, ~/.config/regal/config.yaml
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** regal
- **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:** head, stable

## Other Package-Manager Records

- Nix - regal: normalized package name match | nixpkgs package indexes: pkgs/by-name/re/regal/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - regal - 0.39.0-r2: normalized package name match | Alpine Linux edge package indexes: regal from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Linter for Rego files | https://www.openpolicyagent.org/ecosystem/entry/regal
- apk - regal-bash-completion - 0.39.0-r2: normalized package name match | Alpine Linux edge package indexes: regal-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Bash completions for regal | https://www.openpolicyagent.org/ecosystem/entry/regal
- apk - regal-fish-completion - 0.39.0-r2: normalized package name match | Alpine Linux edge package indexes: regal-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Fish completions for regal | https://www.openpolicyagent.org/ecosystem/entry/regal
- apk - regal-zsh-completion - 0.39.0-r2: normalized package name match | Alpine Linux edge package indexes: regal-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Zsh completions for regal | https://www.openpolicyagent.org/ecosystem/entry/regal
- zypper - regal - 0.41.0-1.1: normalized package name match | openSUSE Tumbleweed package metadata: regal from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Linter and language server for Rego | https://github.com/open-policy-agent/regal
- zypper - regal-bash-completion - 0.41.0-1.1: normalized package name match | openSUSE Tumbleweed package metadata: regal-bash-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Bash Completion for regal | https://github.com/open-policy-agent/regal
- zypper - regal-fish-completion - 0.41.0-1.1: normalized package name match | openSUSE Tumbleweed package metadata: regal-fish-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Fish Completion for regal | https://github.com/open-policy-agent/regal
- zypper - regal-zsh-completion - 0.41.0-1.1: normalized package name match | openSUSE Tumbleweed package metadata: regal-zsh-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Zsh Completion for regal | https://github.com/open-policy-agent/regal


## Related links

- [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.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [go](https://www.automicvault.com/pkg/brew/go/) - Build dependency declared by Homebrew.
- [addons-linter](https://www.automicvault.com/pkg/brew/addons-linter/) - Shares av.db curated category or tags: cli, developer-tools, linter, linting.
- [api-linter](https://www.automicvault.com/pkg/brew/api-linter/) - Shares av.db curated category or tags: cli, developer-tools, linter, linting.
- [cloudformation-guard](https://www.automicvault.com/pkg/brew/cloudformation-guard/) - Shares av.db curated category or tags: cli, developer-tools, policy-as-code.
- [doc8](https://www.automicvault.com/pkg/brew/doc8/) - Shares av.db curated category or tags: cli, developer-tools, linter, linting.
- [droast](https://www.automicvault.com/pkg/brew/droast/) - Shares av.db curated category or tags: cli, developer-tools, linter, linting.
- [falco](https://www.automicvault.com/pkg/brew/falco/) - Shares av.db curated category or tags: cli, developer-tools, linter, linting.
- [mado](https://www.automicvault.com/pkg/brew/mado/) - Shares av.db curated category or tags: cli, developer-tools, linter, linting.
- [oxlint](https://www.automicvault.com/pkg/brew/oxlint/) - Shares av.db curated category or tags: cli, developer-tools, linter, linting.
- [panache](https://www.automicvault.com/pkg/brew/panache/) - Local metadata places this package in an adjacent workflow. Shared terms: cli, developer, developer-tools, language, language-server.
- [conftest](https://www.automicvault.com/pkg/brew/conftest/) - Local package facts share a topical domain. Shared terms: cli, code, developer, developer-tools, policy.

## Combined YAML source

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


## Sources

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