# 使用 Homebrew, dnf 安装 eralchemy

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

## 安装

```sh
sudo av install brew:eralchemy
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install eralchemy
```

  证据: local Homebrew formula metadata

### Linux

- dnf (92%):

```sh
sudo dnf install eralchemy
```

  证据: Fedora Rawhide package metadata: eralchemy from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

## 软件包事实

- **软件包键:** brew:eralchemy
- **软件包管理器:** Homebrew
- **版本:** 1.7.0
- **来源摘要:** Simple entity relation (ER) diagrams generation
- **主页:** <https://github.com/eralchemy/eralchemy>
- **最后更新:** 2026-05-06T15:32:25Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- eralchemy (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

ERAlchemy is a Python command-line and library tool for generating entity-relationship diagrams from live databases, SQLAlchemy models, or its own markdown-like ER representation.

### 项目历史

The official repository was created in 2015 and published a 1.0.0 GitHub release later that year. Its README says the tool was inspired by BurntSushi's `erd`, but differs by rendering diagrams directly from databases rather than only from ER markup.

### 采用历史

ERAlchemy's adoption is mostly in the Python database-tooling niche: the README emphasizes pip, conda-forge, SQLAlchemy URLs, Graphviz output, and command-line generation. Homebrew and Fedora packaging make it convenient outside Python-only workflows, but the project remains a focused documentation and schema-visualization utility rather than a broad platform.

### 使用方式

Common usage is `eralchemy -i DATABASE_URL -o diagram.pdf` or rendering from SQLAlchemy metadata in Python. The README also documents markdown input, Graphviz or PyGraphviz backends, Mermaid ER output, filtering tables or columns, and schema selection for PostgreSQL.

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

Package nerds care about ERAlchemy because it bridges Python packaging, system Graphviz dependencies, database drivers, and CLI ergonomics. It is a small example of why Homebrew-style formulas matter for Python tools that need native graph-rendering support.

### 时间线

- 2015: The GitHub repository was created.
- 2015: Version 1.0.0 was published on GitHub releases.
- 2020s: The README documents Graphviz/PyGraphviz backends, conda-forge packaging, Mermaid ER output, and SQLAlchemy-based database URLs.

### Related projects

- ERAlchemy is related to SQLAlchemy, Graphviz, PyGraphviz, Mermaid ER diagrams, and BurntSushi's `erd` markup-oriented diagram tool.

### 来源

- <https://github.com/eralchemy/eralchemy>
- <https://github.com/eralchemy/eralchemy/releases>
- <https://api.github.com/repos/eralchemy/eralchemy>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

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

- dnf - eralchemy - 1.5.0-5.fc45: normalized package name match | Fedora Rawhide package metadata: eralchemy from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Entity Relation Diagrams generation tool | https://github.com/eralchemy/eralchemy
- dnf - python3-eralchemy - 1.5.0-5.fc45: normalized package name match | Fedora Rawhide package metadata: python3-eralchemy from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Entity Relation Diagrams generation tool | https://github.com/eralchemy/eralchemy


## Combined YAML source

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


## 来源

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