# 使用 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
- **版本:** 0.7.7
- **来源摘要:** Graph database inspired by Freebase and Knowledge Graph
- **主页:** <https://cayley.io>
- **仓库:** <https://github.com/cayleygraph/cayley>
- **最后更新:** 2026-07-31T08:47:01+01:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- cayley (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

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

- 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


## Combined YAML source

View the package source record on GitHub. [combined/cayley.yml](https://github.com/mxcl/pkgdb/blob/main/combined/cayley.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
