# 使用 Homebrew, Nix 安装 bibtex-tidy

查看 bibtex-tidy 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:bibtex-tidy
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install bibtex-tidy
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#bibtex-tidy
```

  证据: nixpkgs package indexes: pkgs/by-name/bi/bibtex-tidy/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:bibtex-tidy
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/bibtex-tidy>
- **版本:** 1.14.0
- **来源摘要:** Cleaner and Formatter for BibTeX files
- **主页:** <https://flamingtempura.github.io/bibtex-tidy/>
- **仓库:** <https://github.com/FlamingTempura/bibtex-tidy>
- **上游文档:** <https://flamingtempura.github.io/bibtex-tidy>
- **许可证:** MIT
- **源码归档:** <https://registry.npmjs.org/bibtex-tidy/-/bibtex-tidy-1.14.0.tgz>
- **最后更新:** 2026-06-15T10:20:10-04:00
- **已生成:** 2026-07-25T07:20:51+00:00

## 可执行文件

- bibtex-tidy (cli)
- bibtex-tidy (别名)

## 依赖

- node

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 all

## 版本和新鲜度

- 页面生成时间: 2026-07-25
- 管理器版本: 1.14.0
- 管理器更新时间: 2026-06-15
- 本地数据: OK
- 上游仓库: https://flamingtempura.github.io/bibtex-tidy/
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

bibtex-tidy is a JavaScript/TypeScript formatter and cleaner for BibTeX files, shipped as a CLI, browser app, API, Docker image, and pre-commit hook.

### 项目历史

The public GitHub repository begins with an initial commit in December 2017, and the package.json describes the project as 'Tidy bibtex files' with a bibtex-tidy command-line executable.

The changelog records growth from basic cleanup into duplicate checking, multi-file operation, pre-commit integration, trailing commas, empty-field removal, wrapping, key generation, and a higher-performance parser.

### 采用历史

bibtex-tidy fits the formatter wave that made source-formatting tools common in developer workflows: the README documents browser use, CLI installation through npm, a JavaScript/TypeScript API, Docker, and pre-commit usage.

Homebrew and Nix packaging make it available to users who manage bibliography tooling alongside other command-line development utilities rather than through npm alone.

### 使用方式

Typical usage is running bibtex-tidy against a .bib file to normalize indentation, field alignment, casing, URL encoding, field ordering, duplicates, and output behavior.

The v1.10 changelog previews a v2-style safer CLI where files are not overwritten by default unless --modify is specified, reflecting the package's role in automated formatting pipelines.

### 为什么软件包爱好者会关心

bibtex-tidy is package-nerd interesting because it brings the expectations of modern code formatters to the old BibTeX file format: deterministic output, pre-commit hooks, stdin/stdout behavior, Docker packaging, and npm/Homebrew/Nix distribution.

It is especially useful for teams that store .bib files in source control and want noisy bibliography diffs reduced to stable, reviewable changes.

### 时间线

- 2017-12-02: Initial public GitHub commit.
- 2020: README media and project docs show an established browser and CLI workflow.
- 2021: v1.8.x changelog entries add a higher-performance parser, type definitions, and a new release process with tags.
- 2023: v1.9.0 adds JabRef-style key generation, Docker configuration, URL-persisted web UI configuration, and a Svelte web UI rewrite.
- 2024: v1.10.0 previews safer v2 CLI semantics for stdin/stdout and file modification.

### Related projects

- BibTeX is the bibliography format that bibtex-tidy parses and rewrites.
- JabRef is referenced by bibtex-tidy's generated-key template support.
- pre-commit is a common integration point for using bibtex-tidy in source-controlled bibliography projects.

### 来源

- <https://api.github.com/repos/FlamingTempura/bibtex-tidy/commits?per_page=1&page=593>
- <https://github.com/FlamingTempura/bibtex-tidy/blob/master/CHANGELOG.md>
- <https://github.com/FlamingTempura/bibtex-tidy/blob/master/README.md>
- <https://github.com/FlamingTempura/bibtex-tidy/blob/master/package.json>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 源数据库详情

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

## 其他软件包管理器记录

- Nix - bibtex-tidy: normalized package name match | nixpkgs package indexes: pkgs/by-name/bi/bibtex-tidy/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## 相关链接

- [Source-control packages](https://www.automicvault.com/zh-hans/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/zh-hans/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/zh-hans/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [node](https://www.automicvault.com/zh-hans/pkg/brew/node/) - Runtime dependency declared by Homebrew.
- [js-beautify](https://www.automicvault.com/zh-hans/pkg/brew/js-beautify/) - Shares av.db curated category or tags: cli, developer-tools, formatter, formatters, javascript.
- [mdformat](https://www.automicvault.com/zh-hans/pkg/brew/mdformat/) - Shares av.db curated category or tags: cli, developer-tools, formatter, formatters, pre-commit.
- [oxfmt](https://www.automicvault.com/zh-hans/pkg/brew/oxfmt/) - Shares av.db curated category or tags: cli, developer-tools, formatter, formatters, javascript.
- [air](https://www.automicvault.com/zh-hans/pkg/brew/air/) - Shares av.db curated category or tags: cli, developer-tools, formatter, formatters.
- [astyle](https://www.automicvault.com/zh-hans/pkg/brew/astyle/) - Shares av.db curated category or tags: cli, developer-tools, formatter, formatters.
- [beautysh](https://www.automicvault.com/zh-hans/pkg/brew/beautysh/) - Shares av.db curated category or tags: cli, developer-tools, formatter, formatters.
- [buildifier](https://www.automicvault.com/zh-hans/pkg/brew/buildifier/) - Shares av.db curated category or tags: cli, developer-tools, formatter, formatters.
- [cbfmt](https://www.automicvault.com/zh-hans/pkg/brew/cbfmt/) - Shares av.db curated category or tags: cli, developer-tools, formatter, formatters.

## Combined YAML source

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


## 来源

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- 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
