Automic VaultAutomic Vault

brew

使用 Homebrew 安装 elm-format

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install elm-format

local Homebrew formula metadata

概览

软件包摘要

Elm source code formatter, inspired by gofmt

命令和别名

  • elm-format

历史

项目历史与用法

elm-format is the standard formatter used by many Elm projects to normalize source layout in the style of gofmt. Its official README presents it as a formatter for Elm code based on the Elm style guide, with the practical goal of removing formatting debates from code review.

项目历史

The project grew around Elm's transition from an experimental FRP language into a more conventional frontend language with project files and a stable command-line toolchain. Its releases track Elm syntax and project-file eras: the README still documents both Elm 0.18's elm-package.json and Elm 0.19's elm.json, and the release history includes Elm 0.19 alpha and 0.8.x releases.

采用历史

Adoption was driven less by a standalone ecosystem and more by editor and workflow integration. The README documents format-on-save support across Atom, Vim, Emacs, Visual Studio Code, Sublime Text, JetBrains IDEs, and other tooling, showing that elm-format became part of the everyday editor setup for Elm programmers.

使用方式

The typical usage is direct and project-local: run elm-format on a file or directory, optionally with --yes to overwrite, from a directory containing elm.json or elm-package.json. The tool is also commonly invoked by editor plugins on save and by formatter integrations such as Prettier plugins.

为什么软件包爱好者会关心

For package maintainers, elm-format matters because it makes source diffs more mechanical and keeps package examples, source files, and contributions visually consistent across the Elm ecosystem. It is a small CLI whose importance comes from convention: once a formatter is expected, packages that use it are easier to review and compare.

时间线

  • 2017: 0.7.0-exp release appears in the GitHub release history.
  • 2018: 0.8.0 release aligns the formatter with the Elm 0.19 transition.
  • 2023: 0.8.7 release continues maintenance for the Elm 0.19-era formatter.
  • 2025: 0.8.8 release is published.

Related projects

  • elm-format follows the same convention-over-style-debate niche as gofmt, but for Elm source files. It is also related to Elm editor plugins and Prettier's Elm integration, which use it as part of save-time or pipeline formatting.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 8 个平台目标。
  • 安装时包含 1 个运行时依赖。
  • 构建元数据列出 3 个构建依赖。

建议审查

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

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
elm.jsonelm-package.json

可执行文件

已安装的可执行文件

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

新鲜度

版本和新鲜度

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

页面生成时间2026-07-08
管理器版本0.8.8
管理器更新时间
本地数据OK
上游not checked
检测到的最新版本未检测到

https://github.com/avh4/elm-format

  • 信息No package-manager update timestamp was available.低 置信度
  • 信息No cached GitHub release or tag data was available.https://github.com/avh4/elm-formatnone 置信度

安装元数据

软件包元数据

软件包键brew:elm-format
版本0.8.8
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/elm-format
主页https://github.com/avh4/elm-format
仓库https://github.com/avh4/elm-format
上游文档https://github.com/avh4/elm-format#readme
许可证BSD-3-Clause
源码归档https://github.com/avh4/elm-format.git
依赖gmp
构建依赖cabal-install, ghc, hpack
macOS 提供的库libffi
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameelm-format
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
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • package relationship graph
  • package version freshness
  • package-page enrichment