Automic VaultAutomic Vault

brew

Install dbml-cli with Homebrew

Convert DBML file to SQL and vice versa. Version 8.3.0 via Homebrew; verified 2026-07-08.

install

Additional install commands

macOS

Homebrewverified ยท 100%
brew install dbml-cli

local Homebrew formula metadata

overview

Package summary

Convert DBML file to SQL and vice versa

Commands and aliases

  • db2dbml
  • dbml2sql
  • sql2dbml

history

Project history and usage

DBML CLI is the command-line packaging of DBML, the open-source Database Markup Language maintained by Holistics for describing database schemas in a readable, database-agnostic DSL.

Project history

DBML grew out of dbdiagram.io, which Holistics says it started in August 2018 after failing to find a database-structure design tool it liked. The syntax behind dbdiagram.io was later separated into DBML after a year of real-world use.

Adoption history

Holistics reports that the original dbdiagram.io syntax reached more than 100,000 diagrams created by 60,000 users before DBML was formalized, and the DBML site reported 2.5 million DBML docs and 1.4 million users across dbdiagram.io and dbdocs.io as of February 2025.

How it is used

The CLI converts DBML to SQL, SQL to DBML, and live database schemas to DBML, giving package users a local way to keep database diagrams, docs, and SQL DDL in a repo-friendly text format.

Why package nerds care

For package-manager users, dbml-cli is a compact bridge between schema-as-code workflows and visual/documentation tools: it exposes DBML as shell commands such as dbml2sql, sql2dbml, and db2dbml instead of tying the workflow to a hosted UI.

Timeline

  • 2018: Holistics begins dbdiagram.io and the syntax that becomes DBML.
  • 2019: DBML is formalized after a year of dbdiagram.io usage.
  • 2025: Official DBML statistics report 2.5 million docs and 1.4 million users.

Related projects

  • DBML is tied to dbdiagram.io, dbdocs.io, RunSQL, and the @dbml/core JavaScript package, with community parsers and editor plugins listed by the official project.

security posture

No protected-tool coverage found yet

No matching local secret-handling manifest was found for dbml-cli. Nucleus package metadata is still published here so future coverage has a stable package URL.

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 1 runtime dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
db2dbmlcliglobal executable
dbml2sqlcliglobal executable
sql2dbmlcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version8.3.0
manager updated2026-07-08
local dataok
upstreamnot checked
latest detectednot detected

https://www.dbml.org/cli/

install metadata

Package metadata

Package keybrew:dbml-cli
Version8.3.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/dbml-cli
Homepagehttps://www.dbml.org/cli/
Repositoryhttps://github.com/holistics/dbml
Upstream docshttps://dbml.dbdiagram.io/cli
LicenseApache-2.0
Source archivehttps://registry.npmjs.org/@dbml/cli/-/cli-8.3.0.tgz
Last updated2026-07-08T06:18:27Z
Pulseupdated
Dependenciesnode
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namedbml-cli
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

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