# 使用 Homebrew, Nix 安装 cayley

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

## 安装

```sh
sudo av install brew:cayley
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install cayley
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#cayley
```

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

## 软件包事实

- **软件包键:** brew:cayley
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/cayley>
- **版本:** 0.7.7
- **来源摘要:** Graph database inspired by Freebase and Knowledge Graph
- **主页:** <https://cayley.io>
- **仓库:** <https://github.com/cayleygraph/cayley>
- **上游文档:** <https://cayley.gitbook.io/cayley>
- **许可证:** Apache-2.0
- **源码归档:** <https://github.com/cayleygraph/cayley.git>
- **最后更新:** 2026-06-15T10:20:11-04:00
- **已生成:** 2026-07-08T07:18:31+00:00

## 可执行文件

- cayley (cli)
- cayley (别名)

## 构建依赖

- breezy
- go
- mercurial

## 安装行为

- post-install 钩子: 已定义
- 服务: declared
- Bottle: 可用 于 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 0.7.7
- 管理器更新时间: 2026-06-15
- 本地数据: OK
- 上游仓库: https://github.com/cayleygraph/cayley
- 信息: No cached GitHub release or tag data was available.
## 项目历史与用法

Cayley is an open-source linked-data graph database and CLI that presents graph storage, query, REPL, HTTP server, and visualization workflows in a Go package.

### 项目历史

The project describes itself as inspired by the graph database behind Google's Knowledge Graph, formerly Freebase. Its public GitHub repository was created in 2014 and the README frames Cayley around linked data, multiple query languages, and application-oriented graph workloads.

### 采用历史

Cayley's README says it is production-ready and used by various companies for production workloads. In package-manager terms it has also been carried by Homebrew and Nix, giving Unix users a one-command install path for a standalone graph database.

### 使用方式

Users typically run `cayley http` for the web interface/API, load RDF-like quad data, and query it with Gizmo, an MQL-style language for Freebase users, or GraphQL-inspired queries. The official configuration docs describe YAML/JSON config files plus command-line and environment-variable overrides.

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

Cayley is interesting as a self-contained Go graph database package: one formula installs a graph server, REPL, query tooling, and multiple storage backends without deploying a larger database stack. Its Freebase/Knowledge Graph lineage gives it a distinct niche among RDF and linked-data tools.

### 时间线

- 2014: Public GitHub repository created.
- 2018: v0.7.5 release published on GitHub.
- 2019: v0.7.7 release published on GitHub.

### Related projects

- Cayley documents query-language connections to Gremlin, GraphQL-style queries, and MQL, and supports storage backends including LevelDB, Bolt, MongoDB, Elasticsearch, PostgreSQL, MySQL, and SQLite.

### 来源

- <https://api.github.com/repos/cayleygraph/cayley>
- <https://github.com/cayleygraph/cayley>
- <https://cayley.io>
- <https://cayley.gitbook.io/cayley>
- <https://github.com/cayleygraph/cayley#readme>
- <https://formulae.brew.sh/api/formula/cayley.json>


## 安全说明

broad file, network, media, or database tool signal. formula declares a Homebrew service.

- **Geiger 风险:** orange / 中
- broad file, network, media, or database tool signal
- formula declares a Homebrew service


## 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: --config/-c path, $CAYLEY_CFG, ./cayley.yml, ./cayley.json, ~/.cayley/cayley.yml, ~/.cayley/cayley.json, /etc/cayley.yml, /etc/cayley.json
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** cayley
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## 其他软件包管理器记录

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


## 相关链接

- [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.
- [Language runtime packages](https://www.automicvault.com/zh-hans/pkg/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [breezy](https://www.automicvault.com/zh-hans/pkg/brew/breezy/) - Build dependency declared by Homebrew.
- [go](https://www.automicvault.com/zh-hans/pkg/brew/go/) - Build dependency declared by Homebrew.
- [mercurial](https://www.automicvault.com/zh-hans/pkg/brew/mercurial/) - Build dependency declared by Homebrew.
- [ladybug](https://www.automicvault.com/zh-hans/pkg/brew/ladybug/) - Shares av.db curated category or tags: cli, data, database, graph, graph-database.
- [cypher-shell](https://www.automicvault.com/zh-hans/pkg/brew/cypher-shell/) - Shares av.db curated category or tags: cli, data, database, graph-database.
- [helix-db](https://www.automicvault.com/zh-hans/pkg/brew/helix-db/) - Shares av.db curated category or tags: cli, data, database, graph-database.
- [kuzu](https://www.automicvault.com/zh-hans/pkg/brew/kuzu/) - Shares av.db curated category or tags: cli, data, database, graph-database.
- [lazysql](https://www.automicvault.com/zh-hans/pkg/brew/lazysql/) - Shares av.db curated category or tags: cli, data, database, go.
- [orientdb](https://www.automicvault.com/zh-hans/pkg/brew/orientdb/) - Shares av.db curated category or tags: cli, data, database, graph-database.
- [redstore](https://www.automicvault.com/zh-hans/pkg/brew/redstore/) - Shares av.db curated category or tags: cli, data, database, rdf.
- [tinysparql](https://www.automicvault.com/zh-hans/pkg/brew/tinysparql/) - Shares av.db curated category or tags: cli, data, database, rdf.
- [virtuoso](https://www.automicvault.com/zh-hans/pkg/brew/virtuoso/) - Local metadata places this package in an adjacent workflow. Shared terms: cli, data, database, graph, knowledge.

## Combined YAML source

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


## 来源

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