# Install odinfmt with Homebrew, pacman

Formatter for The Odin Programming Language. Version 2026-05 via Homebrew; verified 2026-05-07.

## Install

```sh
sudo av install brew:odinfmt
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install odinfmt
```

  Evidence: local Homebrew formula metadata

### Linux

- pacman (92%):

```sh
sudo pacman -S odinfmt
```

  Evidence: Arch Linux sync databases: odinfmt from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

## Package facts

- **Package key:** brew:odinfmt
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/odinfmt>
- **Version:** 2026-05
- **Source summary:** Formatter for The Odin Programming Language
- **Homepage:** <https://github.com/DanielGavin/ols>
- **Repository:** <https://github.com/DanielGavin/ols>
- **Upstream docs:** <https://github.com/DanielGavin/ols>
- **License:** MIT
- **Source archive:** <https://github.com/DanielGavin/ols/archive/refs/tags/dev-2026-05.tar.gz>
- **Last updated:** 2026-05-07T10:04:08Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- odinfmt (cli)
- odinfmt (alias)

## Build dependencies

- odin

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 2026-05
- Package-manager updated: 2026-05-07
- Local data: ok
- Upstream repository: https://github.com/DanielGavin/ols
- info: No cached GitHub release or tag data was available.
## Project history and usage

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.

### Project history

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 history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

- 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.

### Sources

- <https://api.github.com/repos/DanielGavin/ols>
- <https://archlinux.org/packages/extra/x86_64/odinfmt/>
- <https://formulae.brew.sh/formula/odinfmt>
- <https://github.com/DanielGavin/ols>
- <https://odin-lang.org/showcase/ols/>


## Security Notes

generalized runtime or code generation signal.

- **Geiger risk:** yellow / medium
- generalized runtime or code generation 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: odinfmt.json
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** odinfmt
- **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

## Other Package-Manager Records

- pacman - odinfmt - dev_2026_05-1: normalized package name match | Arch Linux sync databases: odinfmt from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Source code formatter for Odin | https://github.com/DanielGavin/ols


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [odin](https://www.automicvault.com/pkg/brew/odin/) - Build dependency declared by Homebrew.
- [ols](https://www.automicvault.com/pkg/brew/ols/) - Shares the same upstream source repository.
- [elm-format](https://www.automicvault.com/pkg/brew/elm-format/) - Shares av.db curated category or tags: cli, developer-tool, developer-tools, formatter.
- [gofumpt](https://www.automicvault.com/pkg/brew/gofumpt/) - Shares av.db curated category or tags: cli, developer-tools, formatter.
- [goimports](https://www.automicvault.com/pkg/brew/goimports/) - Shares av.db curated category or tags: cli, developer-tools, formatter.
- [jsonfmt](https://www.automicvault.com/pkg/brew/jsonfmt/) - Shares av.db curated category or tags: cli, developer-tools, formatter.
- [jsonpp](https://www.automicvault.com/pkg/brew/jsonpp/) - Shares av.db curated category or tags: cli, developer-tools, formatter.
- [pgformatter](https://www.automicvault.com/pkg/brew/pgformatter/) - Shares av.db curated category or tags: cli, developer-tools, formatter.
- [rubyfmt](https://www.automicvault.com/pkg/brew/rubyfmt/) - Shares av.db curated category or tags: cli, developer-tools, formatter.
- [smlfmt](https://www.automicvault.com/pkg/brew/smlfmt/) - Shares av.db curated category or tags: cli, developer-tools, formatter.
- [nixfmt](https://www.automicvault.com/pkg/brew/nixfmt/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tool, developer-tools, formatter.
- [dcd](https://www.automicvault.com/pkg/brew/dcd/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tool, developer-tools, language.

## Combined YAML source

View the package source record on GitHub. [combined/odinfmt.yml](https://github.com/automic-vault/db/blob/main/combined/odinfmt.yml)


## Sources

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