macOS
brew install dbml-clilocal Homebrew formula metadata
安装
brew install dbml-clilocal Homebrew formula metadata
概览
Convert DBML file to SQL and vice versa
历史
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.
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.
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.
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.
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.
安全态势
没有找到 dbml-cli 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
db2dbml | cli | 全局可执行文件 | |
dbml2sql | cli | 全局可执行文件 | |
sql2dbml | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:dbml-cli |
|---|---|
| 版本 | 8.3.1 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/dbml-cli |
| 主页 | https://www.dbml.org/cli/ |
| 仓库 | https://github.com/holistics/dbml |
| 上游文档 | https://dbml.dbdiagram.io/cli |
| 许可证 | Apache-2.0 |
| 源码归档 | https://registry.npmjs.org/@dbml/cli/-/cli-8.3.1.tgz |
| 最后更新 | 2026-07-08T06:18:27Z |
| Pulse | updated |
| 依赖 | node |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | dbml-cli |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.