# tex-fmt mit Homebrew, apt, Nix, scoop installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für tex-fmt in AI-Agent-Workflows.

## Installation

```sh
sudo av install brew:tex-fmt
```

Weitere Installationsbefehle:

### macOS

- Homebrew (100%):

```sh
brew install tex-fmt
```

  Evidenz: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install tex-fmt
```

  Evidenz: Debian stable package indexes: tex-fmt from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#tex-fmt
```

  Evidenz: nixpkgs package indexes: pkgs/by-name/te/tex-fmt/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

### Windows

- Scoop (92%):

```sh
scoop install extras/tex-fmt
```

  Evidenz: Scoop official bucket manifest trees: bucket/tex-fmt.json from https://api.github.com/repos/ScoopInstaller/Extras/git/trees/master?recursive=1

## Paketfakten

- **Paketschlüssel:** brew:tex-fmt
- **Paketmanager:** Homebrew
- **Paketmanager-Seite:** <https://formulae.brew.sh/formula/tex-fmt>
- **Version:** 0.5.7
- **Quellzusammenfassung:** Extremely fast LaTeX formatter written in Rust
- **Homepage:** <https://wgunderwood.github.io/tex-fmt/>
- **Repository:** <https://github.com/WGUNDERWOOD/tex-fmt>
- **Upstream-Dokumentation:** <https://wgunderwood.github.io/tex-fmt/>
- **Lizenz:** MIT
- **Quellarchiv:** <https://github.com/WGUNDERWOOD/tex-fmt/archive/refs/tags/v0.5.7.tar.gz>
- **Generiert:** 2026-08-04T22:13:35+00:00

## Executables

- tex-fmt (cli)
- tex-fmt (Alias)

## Build-Abhängigkeiten

- rust

## Installationsverhalten

- Post-install-Hook: nicht definiert
- Bottle: verfügbar auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Version und Aktualität

- Seite generiert: 2026-08-04
- Manager-Version: 0.5.7
- lokale Daten: OK
- Upstream-Repository: https://github.com/WGUNDERWOOD/tex-fmt
- neueste erkannte Version: v0.5.7 (aktuell)
- Info: No package-manager update timestamp was available.
## Projektgeschichte und Nutzung

tex-fmt is a Rust command-line formatter for LaTeX-related source files, focused on fast indentation, line wrapping, table formatting, and editor or CI integration.

### Projektgeschichte

The WGUNDERWOOD/tex-fmt repository was created in April 2024. Its README describes tex-fmt as an extremely fast LaTeX formatter written in safe Rust, handling .tex, .bib, .cls, and .sty files.

The release list shows rapid early iteration through 2024, from v0.2.0 in May to v0.5.0 in December, followed by v0.5.x releases in 2025. The README also documents a browser demo, configuration files, shell completion, and common CLI modes such as --check, --print, --recursive, --stdin, and --fail-on-change.

### Adoptionsgeschichte

Official README installation notes show adoption across Cargo, Nix, Arch/AUR, Debian, Homebrew, GitHub releases, VS Code through LaTeX Workshop, Neovim through mason.nvim, a GitHub Action, and a CTAN package named latex-formatter.

That distribution pattern places tex-fmt in the formatter niche alongside rustfmt, prettier, and language-specific formatters: the package is valuable when an editor, CI job, or repository hook needs a reproducible formatting binary.

### Wie es verwendet wird

Typical use is direct file formatting, check-only CI mode, recursive formatting of a repository, stdin/stdout formatting for editor integrations, disabling formatting with in-source comments, and reading options from tex-fmt.toml.

The documented config search order is explicit: a named --config path, tex-fmt.toml in the current working directory, tex-fmt.toml at the git root, then a user configuration directory that differs across Linux, macOS, and Windows.

### Warum Paket-Nerds sich dafür interessieren

tex-fmt is interesting to package maintainers because LaTeX historically had fewer fast, conventional formatters than mainstream programming languages. A small Rust binary with package-manager and editor integration gives TeX projects a familiar formatting workflow.

Its presence in Homebrew, Debian, Nix, and editor package ecosystems makes it useful for reproducible academic, documentation, and publishing repositories that want formatting checks in CI without custom scripts.

### Zeitleiste

- 2024: WGUNDERWOOD/tex-fmt repository created.
- 2024: v0.2.0 released in May and v0.5.0 released in December.
- 2025: v0.5.x releases continue, with v0.5.5 published in July.
- 2026: Repository metadata shows continued maintenance activity into 2026.

### Related projects

- LaTeX Workshop, mason.nvim, treefmt-nix, Cargo, Nix, Debian packaging, Homebrew, CTAN latex-formatter, and formatter-oriented CI workflows.

### Quellen

- <https://github.com/WGUNDERWOOD/tex-fmt README and repository metadata>
- input.source_facts.package-manager
- official GitHub release list for WGUNDERWOOD/tex-fmt


## Sicherheitshinweise

narrow executable package without higher-risk signals.

- **Geiger-Risiko:** grün / niedrig
- narrow executable package without higher-risk signals


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

- Linux: tex-fmt.toml, ./tex-fmt.toml, <git-root>/tex-fmt.toml, ~/.config/tex-fmt/tex-fmt.toml
- macOS: tex-fmt.toml, ./tex-fmt.toml, <git-root>/tex-fmt.toml, /Users/<USER>/Library/Application Support/tex-fmt/tex-fmt.toml
- Windows: tex-fmt.toml, .\tex-fmt.toml, <git-root>\tex-fmt.toml, C:\Users\<USER>\AppData\Roaming\tex-fmt\tex-fmt.toml
## Details aus der Quelldatenbank

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** tex-fmt
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## Andere Paketmanager-Einträge

- Debian apt - tex-fmt - 0.5.2+dfsg-3: normalized package name match | Debian stable package indexes: tex-fmt from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | fast LaTeX formatter | https://github.com/WGUNDERWOOD/tex-fmt
- Nix - tex-fmt: normalized package name match | nixpkgs package indexes: pkgs/by-name/te/tex-fmt/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Scoop - extras/tex-fmt: normalized package name match | Scoop official bucket manifest trees: bucket/tex-fmt.json from https://api.github.com/repos/ScoopInstaller/Extras/git/trees/master?recursive=1


## Verwandte Links

- [Source-control packages](https://pkg.so/de/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/de/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/de/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/de/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [rust](https://pkg.so/de/brew/rust/) - Build dependency declared by Homebrew.
- [texlive](https://pkg.so/de/brew/texlive/) - Shares pkgdb curated category or tags: cli, developer-tools, latex, tex.
- [rumdl](https://pkg.so/de/brew/rumdl/) - Shares pkgdb curated category or tags: cli, developer-tools, formatter, rust.
- [oxfmt](https://pkg.so/de/brew/oxfmt/) - Shares pkgdb curated category or tags: cli, developer-tools, formatter, rust.
- [sqruff](https://pkg.so/de/brew/sqruff/) - Shares pkgdb curated category or tags: cli, developer-tools, formatter, rust.
- [air](https://pkg.so/de/brew/air/) - Shares pkgdb curated category or tags: cli, developer-tools, formatter, rust.
- [latexml](https://pkg.so/de/brew/latexml/) - Shares pkgdb curated category or tags: cli, developer-tools, latex, tex.
- [typstyle](https://pkg.so/de/brew/typstyle/) - Shares pkgdb curated category or tags: cli, developer-tools, formatter, rust.
- [sleek](https://pkg.so/de/brew/sleek/) - Shares pkgdb curated category or tags: cli, developer-tools, formatter, rust.
- [ruff](https://pkg.so/de/brew/ruff/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, developer, developer-tools, extremely, fast.

## Combined YAML source

View the package source record on GitHub. [combined/tex-fmt.yml](https://github.com/mxcl/pkgdb/blob/main/combined/tex-fmt.yml)


## Quellen

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