# Install eralchemy with Homebrew, dnf

Simple entity relation (ER) diagrams generation. Version 1.7.0 via Homebrew; verified 2026-05-06. Also installable with dnf: sudo dnf install eralchemy.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install eralchemy
```

  Evidence: local Homebrew formula metadata

### Linux

- dnf (92%):

```sh
sudo dnf install eralchemy
```

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

## Package facts

- **Package key:** brew:eralchemy
- **Package manager:** Homebrew
- **Version:** 1.7.0
- **Source summary:** Simple entity relation (ER) diagrams generation
- **Homepage:** <https://github.com/eralchemy/eralchemy>
- **Last updated:** 2026-05-06T15:32:25Z
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- eralchemy (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 1.7.0
## Project history and usage

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.

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

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

### Sources

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


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Other Package-Manager Records

- 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)


## Sources

- 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
