pkg.soopen package index

brew / 排名 6992

使用 Homebrew 安装 sqlfmt

查看 sqlfmt 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install sqlfmt

local Homebrew formula metadata

概览

软件包摘要

SQL formatter with width-aware output

命令和别名

  • sqlfmt

历史

项目历史与用法

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.

安全态势

风险级别:blue

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

风险分类器

blue 风险 · 中 置信度 · tool

原因

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

信号

  • text:sql

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 10 个平台目标。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
sqlfmtcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-08-04
管理器版本0.5.0
管理器更新时间2026-07-26
本地数据OK
上游当前
检测到的最新版本v0.5.0

https://github.com/madelynnblue/sqlfmt

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:sqlfmt
版本0.5.0
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/sqlfmt
主页https://sqlfum.pt/
仓库https://github.com/madelynnblue/sqlfmt
上游文档https://sqlfum.pt/
许可证Apache-2.0
源码归档https://github.com/madelynnblue/sqlfmt/archive/refs/tags/v0.5.0.tar.gz
最后更新2026-07-26T04:03:45+02:00
Pulseupdated
构建依赖go
Bottle可用 (于 arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, monterey, sonoma, ventura, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

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