# sqlfmt を Homebrew でインストール

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

## インストール

```sh
sudo av install brew:sqlfmt
```

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

### macOS

- Homebrew (100%):

```sh
brew install sqlfmt
```

  証拠: local Homebrew formula metadata

## パッケージ情報

- **パッケージキー:** brew:sqlfmt
- **パッケージマネージャ:** Homebrew
- **バージョン:** 0.5.0
- **ソース概要:** SQL formatter with width-aware output
- **ホームページ:** <https://sqlfum.pt/>
- **リポジトリ:** <https://github.com/madelynnblue/sqlfmt>
- **最終更新:** 2026-07-26T04:03:45+02:00
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- sqlfmt (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

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

sqlfmt is a command-line SQL formatter focused on width-aware output. In package-manager culture it fits the formatter niche: a small tool installed by name and wired into editor, CI, or pre-commit workflows to make SQL diffs less noisy.

### プロジェクトの歴史

The public repository describes sqlfmt as a SQL formatter with width-aware output and says its formatting model is based on Philip Wadler's pretty-printing work. The first GitHub release, v0.1.0, was published as an initial binary release in October 2018.

Later releases kept the tool packaged as standalone binaries. Version 0.5.0, published in March 2023, switched to the CockroachDB parser package according to the project's release notes.

### 採用の歴史

Homebrew packages sqlfmt as the `sqlfmt` formula, making it available through the same install path used for other formatter CLIs. GitHub repository metadata also shows a modest open-source audience through stars, forks, and releases.

### 使われ方

The tool is used as `sqlfmt` to reformat SQL text. Its value is strongest in repositories where SQL lives beside application code and maintainers want predictable wrapping and casing without manually adjusting query text.

### パッケージ好きにとっての重要性

Package nerds care about sqlfmt because it is a narrowly scoped formatter with prebuilt release artifacts and a Homebrew formula: the classic shape of a small CLI that becomes useful once it is easy to install everywhere.

### タイムライン

- 2018: v0.1.0 published as the initial binary release.
- 2019: v0.4.0 release notes mention adding case-mode support to the CLI.
- 2023: v0.5.0 release notes mention moving to the CockroachDB parser package.

### Related projects

- The project README cites Wadler-style pretty printing as an influence.
- The v0.5.0 release notes cite CockroachDB's parser package as the parser dependency.

### ソース

- <https://api.github.com/repos/madelynnblue/sqlfmt/releases - official GitHub release dates and release notes.>
- <https://github.com/madelynnblue/sqlfmt - official repository README, release metadata, and project description.>
- source_facts.package-manager.brew - Homebrew formula name supplied in input.


## セキュリティノート

broad file, network, media, or database tool signal.

- **Geiger リスク:** blue / 中
- broad file, network, media, or database tool signal


## Combined YAML source

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


## ソース

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