Automic VaultAutomic Vault

brew

Install cayley with Homebrew, Nix

Graph database inspired by Freebase and Knowledge Graph. Version 0.7.7 via Homebrew; verified 2026-06-15.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install cayley

local Homebrew formula metadata

Linux

Nixverified · 92%
nix profile install nixpkgs#cayley

nixpkgs package indexes · pkgs/by-name/ca/cayley/package.nix · source: api.github.com

overview

Package summary

Graph database inspired by Freebase and Knowledge Graph

Commands and aliases

  • cayley

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 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.

security posture

Risk level: orange

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

Risk classifier

orange risk · medium confidence · infrastructure

Why

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

Signals

  • metadata:service
  • text:database

Install behavior

  • Homebrew declares a post-install hook for this formula.
  • Formula metadata declares a service or daemon block.
  • Homebrew bottle metadata is available for 13 platform targets.
  • Build metadata lists 3 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

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

Config paths the tool may read or write during local use.

Unix
--config/-c path$CAYLEY_CFG./cayley.yml./cayley.json~/.cayley/cayley.yml~/.cayley/cayley.json/etc/cayley.yml/etc/cayley.json

executables

Installed executables

CommandKindExposureNote
cayleycliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version0.7.7
manager updated2026-06-15
local dataok
upstreamnot checked
latest detectednot detected

https://github.com/cayleygraph/cayley

install metadata

Package metadata

Package keybrew:cayley
Version0.7.7
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/cayley
Homepagehttps://cayley.io
Repositoryhttps://github.com/cayleygraph/cayley
Upstream docshttps://cayley.gitbook.io/cayley
LicenseApache-2.0
Source archivehttps://github.com/cayleygraph/cayley.git
Last updated2026-06-15T10:20:11-04:00
Pulseupdated
Build dependenciesbreezy, go, mercurial
Bottleavailable (on arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura, x86_64_linux)
Homebrew post-installdefined
Servicedeclared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namecayley
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

cayley

nix profile install nixpkgs#cayley
  • normalized package name match
  • Matched by: Cayley
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ca/cayley/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

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