Automic VaultAutomic Vault

brew

使用 Homebrew, pacman 安装 odinfmt

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install odinfmt

local Homebrew formula metadata

概览

软件包摘要

Formatter for The Odin Programming Language

命令和别名

  • odinfmt

历史

项目历史与用法

odinfmt is the source formatter associated with OLS, the Odin language server project. Homebrew packages it as a standalone executable even though upstream development lives in Daniel Gavin's `ols` repository.

项目历史

The OLS repository was created on November 3, 2020 as editor tooling for Odin. Its README describes the project as a language server intended to stay aligned with the master branch of Odin, which explains why formatter packaging is tied to fast-moving Odin tooling rather than a separate formatting standard project.

The official Odin showcase page for OLS, dated July 2, 2023, describes editor support and the implementation goal of fast completion and go-to-definition, with additional features layered around that core. odinfmt fits into the same practical-tooling layer: keep Odin code mechanically consistent while the language evolves.

采用历史

Adoption follows Odin's editor ecosystem rather than broad standalone popularity. The OLS README lists clients including VS Code, Sublime, Vim, Neovim, Emacs, Helix, and Micro, and Homebrew and Arch package odinfmt for users who want formatting without building the repository themselves.

On July 1, 2026, the GitHub repository API reported 1,048 stars and 163 forks for OLS, a useful signal that the language-server-and-formatter toolchain has become part of the working Odin developer setup.

使用方式

Developers use `odinfmt` to format Odin source files and can control style options through `odinfmt.json`. The OLS README documents options such as tab handling, tab width, brace style, case indentation, line endings, and import sorting.

Because OLS tracks Odin master, odinfmt is most useful for developers working near the language's development edge, where editor tooling and formatter behavior need to follow syntax and style changes quickly.

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

The package is a neat example of a subtool split out of a larger upstream repository: the Homebrew formula exposes only the formatter while pointing to the language-server source tree. That makes packaging metadata more precise than upstream branding, which is exactly the kind of distinction package indexes need to preserve.

For package managers, odinfmt also shows the cost of immature language ecosystems: formatter behavior, editor integration, and compiler syntax can all move together, so packagers must decide whether to follow snapshots, development tags, or source builds.

时间线

  • November 3, 2020: The OLS GitHub repository was created.
  • July 2, 2023: Odin's official showcase published a page for OLS, describing its role in editor support.
  • May 2026: Arch Linux packaged odinfmt from the OLS base package, and Homebrew listed odinfmt as a standalone formula for the Odin formatter.

Related projects

  • odinfmt is directly related to Odin and OLS. It is also adjacent to Odin editor extensions because language-server setup, completion, go-to-definition, and formatting are usually installed together.

安全态势

风险级别:yellow

generalized runtime or code generation signal.

风险分类器

yellow 风险 · 中 置信度 · runtime

原因

  • generalized runtime or code generation signal

信号

  • text:programming language

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 构建元数据列出 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
odinfmt.json

可执行文件

已安装的可执行文件

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

新鲜度

版本和新鲜度

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

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

https://github.com/DanielGavin/ols

安装元数据

软件包元数据

软件包键brew:odinfmt
版本2026-05
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/odinfmt
主页https://github.com/DanielGavin/ols
仓库https://github.com/DanielGavin/ols
上游文档https://github.com/DanielGavin/ols
许可证MIT
源码归档https://github.com/DanielGavin/ols/archive/refs/tags/dev-2026-05.tar.gz
最后更新2026-05-07T10:04:08Z
Pulseupdated
构建依赖odin
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

pacman95%

odinfmt dev_2026_05-1

Source code formatter for Odin

https://github.com/DanielGavin/ols

sudo pacman -S odinfmt
  • License: MIT
  • Architecture: x86_64
  • 1 依赖
  • normalized package name match
  • 匹配方式:Odinfmt
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: odinfmt from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

来源线索

由仓库数据生成

此页面由 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
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment