pkg.soopen package index

brew / rank 2204

Install oxfmt with Homebrew, Nix, winget

High-performance formatting tool for JavaScript and TypeScript. Version 0.75.0 via Homebrew; verified 2026-10-28. Also installable with nix: nix profile install nixpkgs#oxfmt.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install oxfmt

local Homebrew formula metadata

Linux

Nixverified · 92%
nix profile install nixpkgs#oxfmt

nixpkgs package indexes · pkgs/by-name/ox/oxfmt/package.nix · source: api.github.com

Windows

Windows Package Managerverified · 92%
winget install --id oxc-project.oxfmt -e

Windows Package Manager source index · oxc-project.oxfmt · source: cdn.winget.microsoft.com

overview

Package summary

High-performance formatting tool for JavaScript and TypeScript

Commands and aliases

  • oxfmt

From the blog

history

Project history and usage

Oxfmt is Oxc's high-performance, Rust-powered, Prettier-compatible formatter for JavaScript and related web formats.

Project history

Oxfmt was developed inside the Oxc project as a high-performance formatter for the JavaScript ecosystem. Its design uses Prettier-compatible output as a baseline while implementing formatting on Oxc's Rust compiler stack.

The project progressed through an alpha and beta while adding native support for JavaScript, TypeScript, JSON, CSS-family formats, GraphQL, YAML, TOML, and Markdown, with additional formats handled through bundled compatibility components.

Adoption history

Oxfmt was announced as an alpha in December 2025 and reached beta in February 2026. The beta announcement reported broader ecosystem adoption after expansion into more file formats, embedded-language formatting, import sorting, and Tailwind CSS support.

Its Prettier-compatible command conventions and migration command are intended to let existing JavaScript projects change formatters with limited workflow disruption. Editor, CI, and coding-agent integrations are documented as first-class use cases.

How it is used

Run oxfmt to rewrite supported files or oxfmt --check in CI. It works without configuration, but projects can commit an Oxfmt configuration to keep editors and automation consistent.

Oxfmt searches upward for .oxfmtrc.json, .oxfmtrc.jsonc, oxfmt.config.ts, or oxfmt.config.mts and also reads selected .editorconfig properties. Use oxfmt --migrate prettier to convert supported Prettier configuration and ignore settings.

In a combined Oxc workflow, apply oxlint --fix before oxfmt so semantic lint fixes occur before final formatting.

Why package nerds care

Oxfmt represents the Rust rewrite wave in JavaScript tooling: it reuses Oxc's parser and compiler infrastructure to target large repositories and CI workloads while preserving the output conventions developers expect from Prettier.

It is especially interesting because compatibility is paired with built-in capabilities commonly supplied by separate Prettier plugins, including import, Tailwind-class, and package.json sorting.

Timeline

  • 2025: The Oxc project announced Oxfmt Alpha.
  • 2026: Oxfmt reached beta with expanded language, embedded-formatting, sorting, and compatibility support.

Related projects

  • Oxfmt is designed as the formatting counterpart to Oxlint within the Oxc toolchain. Official workflow guidance runs Oxlint fixes first and Oxfmt afterward. Prettier is the primary compatibility and migration reference.

security posture

No protected-tool coverage found yet

No matching local secret-handling manifest was found for oxfmt. Package metadata is still published here so future coverage has a stable package URL.

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 5 platform targets.
  • Installs with 1 runtime dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

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
./.oxfmtrc.json./.oxfmtrc.jsonc./oxfmt.config.ts./.editorconfig

executables

Installed executables

CommandKindExposureNote
oxfmtcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-11-04
manager version0.75.0
manager updated2026-10-28
local dataok
upstreamnot checked
latest detectednot detected

https://oxc.rs/

  • infoRelease/tag comparison is only available for GitHub repositories.https://oxc.rs/none confidence

install metadata

Package metadata

Package keybrew:oxfmt
Version0.75.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/oxfmt
Homepagehttps://oxc.rs/
Upstream docshttps://oxc.rs/
LicenseMIT
Source archivehttps://registry.npmjs.org/oxfmt/-/oxfmt-0.75.0.tgz
Last updated2026-10-28T08:43:46Z
Pulseupdated
Dependenciesnode
Bottleavailable (on arm64_golden_gate, arm64_linux, arm64_sequoia, arm64_tahoe, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

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

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

oxfmt

nix profile install nixpkgs#oxfmt
  • normalized package name match
  • Matched by: Oxfmt
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ox/oxfmt/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
winget95%

oxc-project.oxfmt

winget install --id oxc-project.oxfmt -e
  • normalized package name match
  • Matched by: Oxfmt
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: oxc-project.oxfmt from https://cdn.winget.microsoft.com/cache/source.msix

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • 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
  • pkg.so package database
  • pkgdb category and tag curation