# latexindent mit Homebrew, scoop installieren

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

## Installation

```sh
sudo av install brew:latexindent
```

Weitere Installationsbefehle:

### macOS

- Homebrew (100%):

```sh
brew install latexindent
```

  Evidenz: local Homebrew formula metadata

### Windows

- Scoop (92%):

```sh
scoop install main/latexindent
```

  Evidenz: Scoop official bucket manifest trees: bucket/latexindent.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

## Paketfakten

- **Paketschlüssel:** brew:latexindent
- **Paketmanager:** Homebrew
- **Paketmanager-Seite:** <https://formulae.brew.sh/formula/latexindent>
- **Version:** 4.0.2
- **Quellzusammenfassung:** Add indentation to LaTeX files
- **Homepage:** <https://latexindentpl.readthedocs.io>
- **Repository:** <https://github.com/cmhughes/latexindent.pl>
- **Upstream-Dokumentation:** <https://latexindentpl.readthedocs.io>
- **Lizenz:** GPL-3.0-or-later
- **Quellarchiv:** <https://github.com/cmhughes/latexindent.pl/archive/refs/tags/V4.0.2.tar.gz>
- **Zuletzt aktualisiert:** 2026-06-06T14:21:31Z
- **Generiert:** 2026-08-04T22:13:35+00:00

## Executables

- latexindent (cli)
- latexindent (Alias)

## Abhängigkeiten

- perl

## 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: 4.0.2
- Manager aktualisiert: 2026-06-06
- lokale Daten: OK
- Upstream-Repository: https://github.com/cmhughes/latexindent.pl
- Info: No cached GitHub release or tag data was available.
## Projektgeschichte und Nutzung

latexindent.pl is a Perl formatter for LaTeX, TeX-adjacent, and BibTeX-style source files. It adds indentation, aligns delimiters, modifies line breaks, wraps text, and supports user customization through YAML settings.

### Projektgeschichte

The GitHub repository was created on 2012-08-28. CTAN lists Chris Hughes as maintainer, and the project README identifies the package as `latexindent.pl`, a Perl script to beautify, tidy, format, and indent code within environments, commands, headings, and special code blocks.

The project evolved from indentation into a broader source-formatting tool. The README documents delimiter alignment, line-break modification, text wrapping, one-sentence-per-line handling, string and regex replacements, Conda, Docker, and pre-commit support.

The 2026 V4.0 changelog records a major overhaul of how `latexindent.pl` finds code blocks, with user-setting changes and performance and interaction improvements. CTAN records version 4.0.2 dated 2026-06-06.

### Adoptionsgeschichte

latexindent.pl is distributed through CTAN and is included in TeX Live and MiKTeX. Homebrew packages it as `latexindent`, and the upstream README documents standalone executables for Windows, Ubuntu Linux, and macOS, along with Conda, Docker, and pre-commit workflows.

Its adoption tracks the rise of formatter expectations in developer tooling: LaTeX authors increasingly want editor, CI, and pre-commit formatting support similar to language formatters such as gofmt, Black, or Prettier.

### Wie es verwendet wird

Users run `latexindent.pl myfile.tex` for a default formatting pass, often with `-l` to load YAML settings, `-o` to write a separate output file, or pre-commit hooks to format files during Git workflows. The documentation emphasizes testing output carefully before overwriting important documents.

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

latexindent.pl is package-nerd significant because it brings modern formatter ergonomics to TeX source: reproducible layout, YAML configuration, editor integration, pre-commit hooks, and CI-friendly command-line behavior.

It also has a packaging wrinkle maintainers care about: despite the Homebrew formula name `latexindent`, the upstream executable and documentation consistently center `latexindent.pl` and its Perl module/settings bundle.

### Zeitleiste

- 2012-08-28: GitHub repository created.
- 2022-01-21: CTAN announcement recorded version 3.15.
- 2026-03-15: V4.0 released as a major code-block-detection overhaul.
- 2026-06-06: V4.0.2 released.
- 2026-06-08: CTAN announced the 4.0.2 update.

### Related projects

- Related projects and platforms include CTAN, TeX Live, MiKTeX, latexindent.pl's Read the Docs documentation, pre-commit, Conda, Docker, and editor or CI workflows that enforce TeX source formatting.

### Quellen

- <https://api.github.com/repos/cmhughes/latexindent.pl>
- <https://api.github.com/repos/cmhughes/latexindent.pl/tags?per_page=20>
- <https://ctan.org/pkg/latexindent?lang=en>
- <https://latexindentpl.readthedocs.io/en/latest/sec-introduction.html>
- <https://raw.githubusercontent.com/cmhughes/latexindent.pl/main/documentation/changelog.md>
- <https://raw.githubusercontent.com/cmhughes/latexindent.pl/main/readme.md>


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

- Unix: ~/indentconfig.yaml, ~/.indentconfig.yaml, localSettings.yaml in the target file directory, current working directory
## Details aus der Quelldatenbank

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

## Andere Paketmanager-Einträge

- Scoop - main/latexindent: normalized package name match | Scoop official bucket manifest trees: bucket/latexindent.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## Verwandte Links

- [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.
- [Networking and protocol packages](https://pkg.so/de/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Productivity CLI packages](https://pkg.so/de/productivity-cli-packages/) - Matched curated productivity category metadata from av.db.
- [perl](https://pkg.so/de/brew/perl/) - Runtime dependency declared by Homebrew.
- [latexdiff](https://pkg.so/de/brew/latexdiff/) - Shares pkgdb curated category or tags: cli, latex, productivity, tex.
- [enter-tex](https://pkg.so/de/brew/enter-tex/) - Shares pkgdb curated category or tags: cli, latex, productivity, tex.
- [latex2html](https://pkg.so/de/brew/latex2html/) - Shares pkgdb curated category or tags: cli, latex, productivity, tex.
- [opendetex](https://pkg.so/de/brew/opendetex/) - Shares pkgdb curated category or tags: cli, latex, productivity, tex.
- [latex2rtf](https://pkg.so/de/brew/latex2rtf/) - Shares pkgdb curated category or tags: cli, latex, productivity, tex.
- [rtf2latex2e](https://pkg.so/de/brew/rtf2latex2e/) - Shares pkgdb curated category or tags: cli, latex, productivity, tex.
- [biber](https://pkg.so/de/brew/biber/) - Shares pkgdb curated category or tags: cli, latex, productivity.
- [multimarkdown](https://pkg.so/de/brew/multimarkdown/) - Shares pkgdb curated category or tags: cli, latex, productivity.

## Combined YAML source

View the package source record on GitHub. [combined/latexindent.yml](https://github.com/mxcl/pkgdb/blob/main/combined/latexindent.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
