# dbml-cli を Homebrew でインストール

dbml-cli のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:dbml-cli
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install dbml-cli
```

  証拠: local Homebrew formula metadata

## パッケージ情報

- **パッケージキー:** brew:dbml-cli
- **パッケージマネージャ:** Homebrew
- **バージョン:** 9.1.1
- **ソース概要:** Convert DBML file to SQL and vice versa
- **ホームページ:** <https://www.dbml.org/cli/>
- **最終更新:** 2026-08-01T10:34:31Z
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- db2dbml (エイリアス)
- dbml2sql (エイリアス)
- sql2dbml (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 9.1.1
## プロジェクトの歴史と使われ方

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.

### タイムライン

- 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.

### ソース

- <https://dbml.dbdiagram.io/home>
- <https://dbml.dbdiagram.io/cli>
- <https://github.com/holistics/dbml>


## セキュリティノート

dbml-cli に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、Nucleus パッケージメタデータはここに公開されています。



## Combined YAML source

View the package source record on GitHub. [combined/dbml-cli.yml](https://github.com/mxcl/pkgdb/blob/main/combined/dbml-cli.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- cross-ecosystem install command graph
