# Install eralchemy with Homebrew, dnf

Simple entity relation (ER) diagrams generation. Version 1.7.0 via Homebrew; verified 2026-05-06.

## 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/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

## Package facts

- **Package key:** brew:eralchemy
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/eralchemy>
- **Version:** 1.7.0
- **Source summary:** Simple entity relation (ER) diagrams generation
- **Homepage:** <https://github.com/eralchemy/eralchemy>
- **Repository:** <https://github.com/eralchemy/eralchemy>
- **Upstream docs:** <https://github.com/eralchemy/eralchemy#readme>
- **License:** Apache-2.0
- **Source archive:** <https://files.pythonhosted.org/packages/1b/cc/d41f21c662b244efedabac91705834c59dcf43b09e74dbc2b5ff32ea8b1c/eralchemy-1.7.0.tar.gz>
- **Last updated:** 2026-05-06T15:32:25Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- eralchemy (cli)
- eralchemy (alias)

## Dependencies

- graphviz
- libpq
- openssl@3
- python@3.14

## Build dependencies

- pkgconf

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 1.7.0
- Package-manager updated: 2026-05-06
- Local data: ok
- Upstream repository: https://github.com/eralchemy/eralchemy
- info: No cached GitHub release or tag data was available.
## 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

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** eralchemy
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## Other Package-Manager Records

- dnf - eralchemy - 1.5.0-4.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/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Entity Relation Diagrams generation tool | https://github.com/eralchemy/eralchemy
- dnf - python3-eralchemy - 1.5.0-4.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/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Entity Relation Diagrams generation tool | https://github.com/eralchemy/eralchemy


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [graphviz](https://www.automicvault.com/pkg/brew/graphviz/) - Runtime dependency declared by Homebrew.
- [libpq](https://www.automicvault.com/pkg/brew/libpq/) - Runtime dependency declared by Homebrew.
- [openssl@3](https://www.automicvault.com/pkg/brew/openssl-3/) - Runtime dependency declared by Homebrew.
- [python@3.14](https://www.automicvault.com/pkg/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [chdig](https://www.automicvault.com/pkg/brew/chdig/) - Shares av.db curated category or tags: cli, database, developer-tools.
- [dbhash](https://www.automicvault.com/pkg/brew/dbhash/) - Shares av.db curated category or tags: cli, database, developer-tools.
- [diesel](https://www.automicvault.com/pkg/brew/diesel/) - Shares av.db curated category or tags: cli, database, developer-tools.
- [golang-migrate](https://www.automicvault.com/pkg/brew/golang-migrate/) - Shares av.db curated category or tags: cli, database, developer-tools.
- [jet](https://www.automicvault.com/pkg/brew/jet/) - Shares av.db curated category or tags: cli, database, developer-tools.
- [liquibase](https://www.automicvault.com/pkg/brew/liquibase/) - Shares av.db curated category or tags: cli, database, developer-tools.
- [memtier_benchmark](https://www.automicvault.com/pkg/brew/memtier-benchmark/) - Shares av.db curated category or tags: cli, database, developer-tools.
- [graphviz2drawio](https://www.automicvault.com/pkg/brew/graphviz2drawio/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, developer, developer-tools, diagram, diagramming.
- [overarch](https://www.automicvault.com/pkg/brew/overarch/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, diagram, diagram-generation.

## Combined YAML source

View the package source record on GitHub. [combined/eralchemy.yml](https://github.com/automic-vault/db/blob/main/combined/eralchemy.yml)


## Sources

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