# 使用 Homebrew 安装 typedb

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

## 安装

```sh
sudo av install brew:typedb
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install typedb
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:typedb
- **软件包管理器:** Homebrew
- **版本:** 3.12.1
- **来源摘要:** Strongly-typed database with a rich and logical type system
- **主页:** <https://typedb.com/>
- **仓库:** <https://github.com/typedb/typedb>
- **最后更新:** 2026-07-13T16:25:58Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- typedb (别名)
- typedb_server_bin (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

TypeDB is an open-source, strongly typed, polymorphic transactional database with its own query language, TypeQL. Official docs describe it as a database for rich interconnected data, agentic AI systems, cybersecurity, financial services, supply chains, research, and other complex domains.

### 项目历史

TypeDB evolved from the Grakn lineage into a database centered on types, schemas, polymorphism, and inference. TypeDB's own Origins material frames its history around the decisions that moved it from early ideas to infrastructure, including the transition from Grakn to TypeDB and the decision to make schema-first modeling, polymorphism, and inference core properties rather than application-side conventions.

The current TypeDB documentation presents the database as a system that combines database ideas with programming-language type-system ideas. TypeQL is documented as the language for defining data models and querying them, while the official README says TypeDB aims to unify strengths of relational, document, and graph databases.

TypeDB 3.x marks a major current-era line. The README describes TypeDB 3.0 functions as a new cornerstone of the TypeQL query model, and the documentation separates current 3.x docs from 2.x docs and migration material.

### 采用历史

TypeDB adoption has centered on domains where a schema-rich model is useful: knowledge graphs, cybersecurity, identity and access management, financial intelligence, robotics, agentic systems, and research. The official site and docs organize examples and use cases around those areas rather than general OLTP replacement.

The project's package story is more server/database-like than small CLI-like: TypeDB CE is distributed through GitHub releases, Docker images, package repositories, Homebrew, and TypeDB's own Cloud/Enterprise offerings. The README points users to GitHub releases, installation docs, Cloud deployment, drivers, Studio, Console, and Discord community channels.

### 使用方式

Package users install the `typedb` server/CLI bundle to run a local TypeDB Community Edition instance, connect with TypeDB Studio or Console, define a schema in TypeQL, insert data, and run typed queries. Developers also use language drivers or the HTTP API to integrate TypeDB into applications.

The Homebrew package fits a local development and evaluation workflow: start a local server, use Console or Studio, iterate on schema and TypeQL queries, and then move to Cloud or Enterprise if operations requirements grow.

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

TypeDB is notable to package nerds because it packages an entire typed database stack, not just a client binary. Its formula sits at the intersection of database servers, CLI tools, language drivers, and developer education material.

Its packaging history also shows the practical complexity of distributing a database: release notes and README material point to Docker images, Cloudsmith-hosted packages, GitHub release archives, Bazel/Cargo source builds, and platform-specific assembled artifacts.

### 时间线

- Pre-2021: Grakn provided the earlier lineage for the system that became TypeDB.
- 2020s: The project shifted public identity and documentation from Grakn to TypeDB and TypeQL.
- 2024: TypeDB published TypeQL research material connecting the query language to type-theoretic and polymorphic database language design.
- 2025: TypeDB Origins material documented the project's origin story and the Grakn-to-TypeDB transition.
- 2025-2026: TypeDB 3.x docs and releases became the current line, with 2.x migration material maintained separately.

### Related projects

- Related TypeDB projects include TypeQL, TypeDB Studio, TypeDB Console, TypeDB language drivers, TypeDB Cloud, and TypeDB Enterprise. Comparable database categories include graph databases, knowledge-graph stores, relational databases, document databases, RDF/OWL tooling, and Datalog-style reasoning systems.

### 来源

- <https://github.com/typedb/typedb#readme>
- <https://github.com/typedb/typedb/releases>
- <https://typedb.com/blog/new-podcast-series-typedb-origins>
- <https://typedb.com/blog/towards-typeful-database-languages>
- <https://typedb.com/docs>
- <https://typedb.com/docs/home/what-is-typedb/>
- source_facts.package-manager


## 安全说明

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: <TypeDB server executable directory>/config.yml, file supplied with --config

## Combined YAML source

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


## 来源

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