Quick-ERD is a text-based ERD editor and code generator for database migrations, queries, TypeScript types, and ORM entities. Current stable version is 4.34.1, released regularly on npm. It supports offline usage via a local web UI and CLI, and can reverse-engineer ERD files from PostgreSQL, MySQL, MSSQL, and SQLite. Unlike other ERD tools, it offers drag-and-drop visualization, auto-formatting, and generates type-safe proxy schemas for better-sqlite3-proxy. It requires peer dependencies dotenv, express, knex, and listening-on for some CLI commands.
npm install quick-erdNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Install quick-erd, create a sample ERD file, generate TypeScript types and SQLite migration schema using npx commands.
Install peer deps: npm install -D dotenv express knex listening-on
Use npx commands directly (e.g., npx erd-ui, npx erd-to-types).
Use Git Bash or PowerShell's Get-Content: Get-Content erd.txt | npx erd-to-types > types.ts
Refer to https://github.com/beenotung/quick-erd for current hosted URLs.
Run 'npm install -D quick-erd' first, then use npx from project root.
Install dotenv: 'npm install -D dotenv'
Use Git Bash or use Get-Content piping: 'Get-Content erd.txt | npx erd-to-types > types.ts'