# latexindent を Homebrew, scoop でインストール

latexindent のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

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

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install latexindent
```

  証拠: local Homebrew formula metadata

### Windows

- Scoop (92%):

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

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

## パッケージ情報

- **パッケージキー:** brew:latexindent
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/latexindent>
- **バージョン:** 4.0.2
- **ソース概要:** Add indentation to LaTeX files
- **ホームページ:** <https://latexindentpl.readthedocs.io>
- **リポジトリ:** <https://github.com/cmhughes/latexindent.pl>
- **上流ドキュメント:** <https://latexindentpl.readthedocs.io>
- **ライセンス:** GPL-3.0-or-later
- **ソースアーカイブ:** <https://github.com/cmhughes/latexindent.pl/archive/refs/tags/V4.0.2.tar.gz>
- **最終更新:** 2026-06-06T14:21:31Z
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- latexindent (cli)
- latexindent (エイリアス)

## 依存関係

- perl

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 4.0.2
- マネージャ更新日: 2026-06-06
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/cmhughes/latexindent.pl
- 情報: No cached GitHub release or tag data was available.
## プロジェクトの歴史と使われ方

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.

### プロジェクトの歴史

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.

### 採用の歴史

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.

### 使われ方

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.

### パッケージ好きにとっての重要性

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.

### タイムライン

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

### ソース

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


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- 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
## ソースデータベース詳細

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

## 他のパッケージマネージャ記録

- 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


## 関連リンク

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


## ソース

- 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
