# Install regal

Linter and language server for Rego. Version 0.41.1 via Homebrew; verified 2026-06-02.

## 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/155b97171d05e27afd950b6fe0d55513ff38f4597110664535bceedc680bbe6fd459f0733718dcc21dcf0efc7c8250fd1390c73d4790b42e62fb2c16a87242e5-primary.xml.zst

## Package Facts

- **Package key:** brew:regal
- **Package manager:** Homebrew
- **Package manager URL:** <https://formulae.brew.sh/formula/regal>
- **Version:** 0.41.1
- **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.41.1.tar.gz>
- **Last updated:** 2026-06-02T23:06:20Z
- **Generated:** 2026-06-10T07:18:26+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-06-10
- Package-manager version: 0.41.1
- Package-manager updated: 2026-06-02
- Local data status: ok
- Upstream repository: https://github.com/open-policy-agent/regal
- Upstream latest detected: v0.41.1 (current)

## 安全说明

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

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

## 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.40.0-1.1: normalized package name match | openSUSE Tumbleweed package metadata: regal from https://download.opensuse.org/tumbleweed/repo/oss/repodata/155b97171d05e27afd950b6fe0d55513ff38f4597110664535bceedc680bbe6fd459f0733718dcc21dcf0efc7c8250fd1390c73d4790b42e62fb2c16a87242e5-primary.xml.zst | Linter and language server for Rego | https://github.com/open-policy-agent/regal
- zypper - regal-bash-completion - 0.40.0-1.1: normalized package name match | openSUSE Tumbleweed package metadata: regal-bash-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/155b97171d05e27afd950b6fe0d55513ff38f4597110664535bceedc680bbe6fd459f0733718dcc21dcf0efc7c8250fd1390c73d4790b42e62fb2c16a87242e5-primary.xml.zst | Bash Completion for regal | https://github.com/open-policy-agent/regal
- zypper - regal-fish-completion - 0.40.0-1.1: normalized package name match | openSUSE Tumbleweed package metadata: regal-fish-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/155b97171d05e27afd950b6fe0d55513ff38f4597110664535bceedc680bbe6fd459f0733718dcc21dcf0efc7c8250fd1390c73d4790b42e62fb2c16a87242e5-primary.xml.zst | Fish Completion for regal | https://github.com/open-policy-agent/regal
- zypper - regal-zsh-completion - 0.40.0-1.1: normalized package name match | openSUSE Tumbleweed package metadata: regal-zsh-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/155b97171d05e27afd950b6fe0d55513ff38f4597110664535bceedc680bbe6fd459f0733718dcc21dcf0efc7c8250fd1390c73d4790b42e62fb2c16a87242e5-primary.xml.zst | Zsh Completion for regal | https://github.com/open-policy-agent/regal


## Related Links

- [Secret-risk packages](https://www.automicvault.com/zh-hans/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/zh-hans/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/zh-hans/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [go](https://www.automicvault.com/zh-hans/pkg/brew/go/) - Build dependency declared by Homebrew.
- [iblinter](https://www.automicvault.com/zh-hans/pkg/brew/iblinter/) - Shares av.db curated category or tags: cli, developer-tools, linter, linting.
- [sqlfluff](https://www.automicvault.com/zh-hans/pkg/brew/sqlfluff/) - Shares av.db curated category or tags: cli, developer-tools, linter, linting.
- [oxlint](https://www.automicvault.com/zh-hans/pkg/brew/oxlint/) - Shares av.db curated category or tags: cli, developer-tools, linter, linting.
- [protolint](https://www.automicvault.com/zh-hans/pkg/brew/protolint/) - Shares av.db curated category or tags: cli, developer-tools, linter, linting.
- [falco](https://www.automicvault.com/zh-hans/pkg/brew/falco/) - Shares av.db curated category or tags: cli, developer-tools, linter, linting.
- [htmlhint](https://www.automicvault.com/zh-hans/pkg/brew/htmlhint/) - Shares av.db curated category or tags: cli, developer-tools, linter, linting.
- [proselint](https://www.automicvault.com/zh-hans/pkg/brew/proselint/) - Shares av.db curated category or tags: cli, developer-tools, linter, linting.
- [cloudformation-guard](https://www.automicvault.com/zh-hans/pkg/brew/cloudformation-guard/) - Shares av.db curated category or tags: cli, developer-tools, policy-as-code.
- [panache](https://www.automicvault.com/zh-hans/pkg/brew/panache/) - Local metadata places this package in an adjacent workflow. Shared terms: cli, developer, developer-tools, language, language-server.
- [tombi](https://www.automicvault.com/zh-hans/pkg/brew/tombi/) - Local metadata places this package in an adjacent workflow. Shared terms: cli, code, developer, developer-tools, language.

## Sources

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