Recommendations for a CLI-tool to generate DB diagrams?

This page summarizes the projects mentioned and recommended in the original post on reddit.com/r/PostgreSQL

Our great sponsors
  • SonarLint - Clean code begins in your IDE with SonarLint
  • Scout APM - Less time debugging, more time building
  • SaaSHub - Software Alternatives and Reviews
  • erd

    Translates a plain text description of a relational database schema to a graphical entity-relationship diagram.

    Only tool I've come across is erd but have not personally used it. We use LucidChart for our ERDs at work. They have an API to export to PNG and to create documents within it. The documentation for the API is dense, but it is something I am hoping to take a hack day or two to try to understand and see if I can automate generating and updating our own ERDs.

  • tbls

    tbls is a CI-Friendly tool for document a database, written in Go.

    Check out tbls. You can create a ERD in one command

  • SonarLint

    Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts