# sql-lint を Homebrew でインストール

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

## インストール

```sh
sudo av install brew:sql-lint
```

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

### macOS

- Homebrew (100%):

```sh
brew install sql-lint
```

  証拠: local Homebrew formula metadata

## パッケージ情報

- **パッケージキー:** brew:sql-lint
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/sql-lint>
- **バージョン:** 1.0.2
- **ソース概要:** SQL linter to do sanity checks on your queries and bring errors back from the DB
- **ホームページ:** <https://github.com/joereynolds/sql-lint>
- **リポジトリ:** <https://github.com/joereynolds/sql-lint>
- **ライセンス:** MIT
- **ソースアーカイブ:** <https://registry.npmjs.org/sql-lint/-/sql-lint-1.0.2.tgz>
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- sql-lint (cli)
- sql-lint (エイリアス)

## 依存関係

- node

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 all

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 1.0.2
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/joereynolds/sql-lint
- 情報: No package-manager update timestamp was available.
- 情報: No cached GitHub release or tag data was available.
## プロジェクトの歴史と使われ方

sql-lint is a command-line SQL linter for MySQL and PostgreSQL-oriented workflows. Its official documentation positions it as a sanity-check tool that reports local lint findings and can also bring back database-server errors.

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

The GitHub repository was created in July 2018 and later moved its main development branch to `typescript`. The project reached a 1.0.0 release in June 2022, when the maintainer described it as stable and added command-line support for ignoring selected lint errors.

### 採用の歴史

The README documents npm and Yarn global installation, downloadable release binaries, and editor integration through external-tool support. The release history shows packaged Linux, macOS, and Windows binaries, which made the tool usable outside Node-centric setups.

### 使われ方

sql-lint is usually run against files, directories, or stdin, for example `sql-lint .`, `sql-lint create-person.sql`, or piping a query into the command. Its configuration can be passed through CLI flags, discovered as `.sql-lint.json` while walking up from the current directory, or read from `~/.config/sql-lint/config.json`.

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

Package nerds care about sql-lint because it is a small, composable CLI that brings SQL review into shells, editor integrations, and CI-style checks without requiring a full IDE. Its XDG-style global config and project-local config discovery match common Unix packaging expectations.

### タイムライン

- 2018: GitHub repository created.
- 2020: v0.0.14 release improved recursive directory linting and simplified CLI arguments.
- 2022: v1.0.0 release declared the project stable.
- 2025: v1.0.1 release added directory-local config support and more SQL statement support.

### Related projects

- The README lists editor integration through ALE for Vim and Neovim and an Inline SQL extension for VS Code. It also overlaps culturally with SQL Language Server through the same SQL editing and linting niche.

### ソース

- <https://api.github.com/repos/joereynolds/sql-lint>
- <https://api.github.com/repos/joereynolds/sql-lint/releases>
- <https://github.com/joereynolds/sql-lint#readme>
- <https://github.com/joereynolds/sql-lint/blob/typescript/docs/files/configuration.md>
- <https://github.com/joereynolds/sql-lint/blob/typescript/docs/files/introduction.md>


## セキュリティノート

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

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


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: .sql-lint.json, ~/.config/sql-lint/config.json

## Credential files

- Unix: .sql-lint.json, ~/.config/sql-lint/config.json
## ソースデータベース詳細

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** sql-lint
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable


## 関連リンク

- [Source-control packages](https://pkg.so/ja/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://pkg.so/ja/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/ja/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [node](https://pkg.so/ja/brew/node/) - Runtime dependency declared by Homebrew.
- [sqlx-cli](https://pkg.so/ja/brew/sqlx-cli/) - Shares pkgdb curated category or tags: cli, database, developer-tools, mysql, postgresql.
- [sqlbench](https://pkg.so/ja/brew/sqlbench/) - Shares pkgdb curated category or tags: cli, database-tools, developer-tools, postgresql, sql.
- [ansible-lint](https://pkg.so/ja/brew/ansible-lint/) - Shares pkgdb curated category or tags: cli, developer-tools, linter, linters.
- [dbmate](https://pkg.so/ja/brew/dbmate/) - Shares pkgdb curated category or tags: cli, database, developer-tools, mysql, postgresql.
- [pspg](https://pkg.so/ja/brew/pspg/) - Shares pkgdb curated category or tags: cli, database-tools, developer-tools, postgresql.
- [sql-migrate](https://pkg.so/ja/brew/sql-migrate/) - Shares pkgdb curated category or tags: cli, database-tools, developer-tools, sql.
- [sqlancer](https://pkg.so/ja/brew/sqlancer/) - Shares pkgdb curated category or tags: cli, database-tools, developer-tools, sql.
- [sql-translator](https://pkg.so/ja/brew/sql-translator/) - Shares pkgdb curated category or tags: cli, database-tools, developer-tools, sql.
- [sql-language-server](https://pkg.so/ja/brew/sql-language-server/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, developer, developer-tools, node, sql.

## Combined YAML source

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


## ソース

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- cross-ecosystem install command graph
