Automic VaultAutomic Vault

brew

sql-formatter を Homebrew, Nix でインストール

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

インストール

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

macOS

Homebrew確認済み · 100%
brew install sql-formatter

local Homebrew formula metadata

Linux

Nix確認済み · 92%
nix profile install nixpkgs#sql-formatter

nixpkgs package indexes · pkgs/by-name/sq/sql-formatter/package.nix · ソース: api.github.com

概要

パッケージ概要

Whitespace formatter for different query languages

コマンドとエイリアス

  • sql-formatter

履歴

プロジェクトの歴史と使われ方

SQL Formatter is a TypeScript and JavaScript library and CLI for pretty-printing SQL and related query languages.

プロジェクトの歴史

The project was created in 2016 and its README says it started as a port of a PHP library before diverging substantially. It grew into a multi-dialect formatter supporting engines and query languages including BigQuery, ClickHouse, DB2, DuckDB, Hive, MariaDB, MySQL, N1QL, Oracle PL/SQL, PostgreSQL, Redshift, Snowflake, Spark, SQLite, Transact-SQL, Trino, and others.

採用の歴史

SQL Formatter is primarily distributed through the JavaScript package ecosystem, with the README recommending npm, yarn, pnpm, or bun. The supplied package metadata also shows Homebrew and Nix packaging for the CLI, and the organization maintains an official VS Code extension.

使われ方

The library exposes a `format` function for applications, while the CLI installs as `sql-formatter` and can format stdin or a file. It accepts language and config options, searches for `.sql-formatter.json` in the current or parent directories, and can also use a config path or JSON string passed with `--config`.

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

Package nerds care about SQL Formatter because it is a small, installable formatting primitive that can be embedded in editors, scripts, CI, and language tooling. Its appeal is broad dialect coverage and simple package-manager installation rather than a full SQL linting framework.

タイムライン

  • 2016: GitHub repository created and v0.0.1 published.
  • 2026: v15.8.2 published on GitHub releases.

Related projects

  • The README credits the original PHP sql-formatter library as its starting point and links to official editor integrations, including the SQL Formatter VS Code extension.

セキュリティ状態

保護ツール対応はまだ見つかっていません

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

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 1 個のプラットフォームターゲットで利用できます。
  • 1 件の実行時依存関係とともにインストールされます。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

local files

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

Config paths the tool may read or write during local use.

Unix
.sql-formatter.json

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
sql-formattercliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-25
マネージャ版15.8.2
マネージャ更新日2026-06-22
ローカルデータOK
上流not checked
検出された最新未検出

https://sql-formatter-org.github.io/sql-formatter/

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:sql-formatter
バージョン15.8.2
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/sql-formatter
ホームページhttps://sql-formatter-org.github.io/sql-formatter/
リポジトリhttps://github.com/sql-formatter-org/sql-formatter
上流ドキュメントhttps://github.com/sql-formatter-org/sql-formatter#readme
ライセンスMIT
ソースアーカイブhttps://registry.npmjs.org/sql-formatter/-/sql-formatter-15.8.2.tgz
最終更新2026-06-22T14:17:23Z
Pulseupdated
依存関係node
Bottle利用可能 (対象 all)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

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

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Nix95%

sql-formatter

nix profile install nixpkgs#sql-formatter
  • normalized package name match
  • 一致条件: Sql Formatter
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/sq/sql-formatter/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment