# 使用 Homebrew, Nix 安装 spicedb

查看 spicedb 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:spicedb
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install spicedb
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#spicedb
```

  证据: nixpkgs package indexes: pkgs/by-name/sp/spicedb/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:spicedb
- **软件包管理器:** Homebrew
- **版本:** 1.56.0
- **来源摘要:** Open Source, Google Zanzibar-inspired database
- **主页:** <https://authzed.com/docs/spicedb/getting-started/discovering-spicedb>
- **仓库:** <https://github.com/authzed/spicedb>
- **最后更新:** 2026-07-26T04:03:43+02:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- spicedb (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 1.56.0
## 项目历史与用法

SpiceDB is AuthZed's open source, Google Zanzibar-inspired permissions database. It stores relationship data and answers authorization questions for applications that need centralized, fine-grained access control.

### 项目历史

AuthZed's official history says its founders left Red Hat in August 2020, built an API-complete Zanzibar implementation called Arrakis in Python the next month, rewrote the idea in Go as Caladan in March 2021, and open-sourced it in September 2021 as SpiceDB. GitHub records the authzed/spicedb repository as created in August 2021, and the first v1.0.0 GitHub release was published on September 30, 2021.

### 采用历史

SpiceDB grew with the broader interest in relationship-based access control and Zanzibar-style authorization outside large platform companies. Its README presents it as a centralized service for product suites and microservice architectures, and the official docs emphasize Kubernetes operation, gRPC and HTTP APIs, client libraries, schema validation, and datastore choices such as PostgreSQL, MySQL, CockroachDB, Spanner, and in-memory storage.

### 使用方式

Developers define a schema, write relationships, and use client libraries or APIs to check permissions. Operators run the spicedb binary or container with flags, environment variables, Kubernetes operator configuration, or a spicedb.env dotenv file, then connect it to a datastore for production use.

### 为什么软件包爱好者会关心

SpiceDB matters to package and CLI users because it packages a once-proprietary class of infrastructure as a downloadable binary, container image, and Homebrew formula. It is one of the modern examples where local CLI experimentation, Docker examples, Kubernetes operators, and security-sensitive production service packaging all describe the same tool.

### 时间线

- 2020: AuthZed founders begin the first Zanzibar-inspired implementation after leaving Red Hat.
- 2021: The project is rewritten in Go and open-sourced as SpiceDB.
- 2021: SpiceDB v1.0.0 is released on GitHub.
- 2026: SpiceDB remains actively released, with v1.54.0 published in June 2026.

### Related projects

- Google Zanzibar is the main design inspiration.
- AuthZed Cloud is the managed product around the SpiceDB ecosystem.
- Open Policy Agent is documented as a comparison/migration reference in the official docs.
- The SpiceDB Kubernetes Operator manages SpiceDB clusters in Kubernetes.

### 来源

- <https://api.github.com/repos/authzed/spicedb>
- <https://api.github.com/repos/authzed/spicedb/releases?per_page=100>
- <https://authzed.com/docs/spicedb/getting-started/configuration>
- <https://authzed.com/docs/spicedb/getting-started/discovering-spicedb>
- <https://github.com/authzed/spicedb>


## 安全说明

没有找到 spicedb 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。



## 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: spicedb.env
## 其他软件包管理器记录

- Nix - spicedb: normalized package name match | nixpkgs package indexes: pkgs/by-name/sp/spicedb/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/spicedb.yml](https://github.com/mxcl/pkgdb/blob/main/combined/spicedb.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
