Cerbos provides pre-compiled binaries and native packages for multiple operating systems and architectures. All releases are available on the GitHub releases page.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/cerbos/cerbos/llms.txt
Use this file to discover all available pages before exploring further.
Supported Platforms
Cerbos binaries are available for:| OS | Architecture | Bundle Format |
|---|---|---|
| Linux | x86-64 | cerbos_VERSION_Linux_x86_64.tar.gz |
| Linux | arm64 | cerbos_VERSION_Linux_arm64.tar.gz |
| macOS | Universal | cerbos_VERSION_Darwin_all.tar.gz |
| macOS | x86-64 | cerbos_VERSION_Darwin_x86_64.tar.gz |
| macOS | arm64 | cerbos_VERSION_Darwin_arm64.tar.gz |
Download and Install Binary
Binary Verification
All Cerbos binaries are signed using Sigstore during the automated build process. Each release includes a.sigstore.json verification bundle.
Linux Packages
Cerbos provides native DEB and RPM packages for Linux distributions.Packages require
systemd as the init system. For other init systems, install from the tarball instead.Package Installation
What Gets Installed
The packages install:- Binaries:
cerbosandcerbosctlin/usr/local/bin - Configuration: Default config at
/etc/cerbos.yaml - Policy Directory:
/var/cerbos/policies - Systemd Service:
cerbos.servicewith automatic startup
Default Configuration
The default configuration (/etc/cerbos.yaml):
Managing the Service
Systemd Service Details
The service file (/etc/systemd/system/cerbos.service):
Homebrew (macOS)
Install Cerbos using Homebrew:Update via Homebrew
npm Package
Install Cerbos binaries via npm for JavaScript/TypeScript projects. This allows version locking and eliminates separate setup steps.Do not use the
--no-optional flag with npm, as the packages rely on platform-specific optional dependencies.Using npm Packages
Packages are available separately: Run the binaries via npx:Nix Flake
A Nix flake is available at github:cerbos/cerbos-flake.Running Cerbos
After installation, start the Cerbos server:Next Steps
- Create your first policy
- Configure storage backends
- Set up TLS encryption
- Explore deployment options