# 使用 Homebrew, Nix, zypper 安装 hayagriva

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

## 安装

```sh
sudo av install brew:hayagriva
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install hayagriva
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#hayagriva
```

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

- zypper (92%):

```sh
sudo zypper install hayagriva
```

  证据: openSUSE Tumbleweed package metadata: hayagriva from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

## 软件包事实

- **软件包键:** brew:hayagriva
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/hayagriva>
- **版本:** 0.10.1
- **来源摘要:** Bibliography management tool
- **主页:** <https://github.com/typst/hayagriva>
- **仓库:** <https://github.com/typst/hayagriva>
- **上游文档:** <https://github.com/typst/hayagriva#readme>
- **许可证:** Apache-2.0 OR MIT
- **源码归档:** <https://github.com/typst/hayagriva/archive/refs/tags/v0.10.1.tar.gz>
- **最后更新:** 2026-06-14T12:16:31Z
- **已生成:** 2026-07-08T18:08:21+00:00

## 可执行文件

- hayagriva (cli)
- hayagriva (别名)

## 构建依赖

- rust

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 0.10.1
- 管理器更新时间: 2026-06-14
- 本地数据: OK
- 上游仓库: https://github.com/typst/hayagriva
- 检测到的最新版本: v0.10.1 (当前)
## 项目历史与用法

Hayagriva is a Rust bibliography-management library and CLI from the Typst organization. It handles literature collections, YAML bibliography files, BibTeX/BibLaTeX interoperability, Citation Style Language formatting, and command-line citation/reference generation.

### 项目历史

The GitHub repository was created in September 2020. The README describes Hayagriva as 'Rusty bibliography management' and positions it as both an application dependency and terminal tool for dealing with literature and other media.

Hayagriva's history is tied to Typst's document-preparation ecosystem: it provides structured bibliography data and citation formatting that fit Typst's broader goal of modern technical writing workflows.

### 采用历史

The README documents library use, CLI installation through Cargo with the cli feature, and support for all styles from the official Citation Style Language repository. Input package facts show downstream packaging in Homebrew, Nix, and zypper.

### 使用方式

Users can parse bibliography data from YAML or BibLaTeX, format references and in-text citations using CSL styles, and run commands such as hayagriva literature.yaml reference or hayagriva literature.yaml cite. As a library, it exposes data structures and formatting drivers for applications that need citation support.

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

Hayagriva is notable because it packages scholarly citation plumbing as a reusable Rust crate and standalone CLI. That makes it useful outside Typst itself, but its strongest package-manager relevance is as a small tool in reproducible writing and publishing pipelines.

### 时间线

- 2020: Public GitHub repository created.
- 2020s: Project develops as a Rust library and CLI for bibliography handling.
- 2020s: Downstream packages appear in Homebrew, Nix, and zypper according to input package facts.

### Related projects

- Typst is the closest related project by organization and ecosystem.
- BibTeX, BibLaTeX, Citation Style Language styles, and the citationberg parser are related bibliography and citation-formatting technologies named by the README.

### 来源

- <https://api.github.com/repos/typst/hayagriva>
- <https://github.com/typst/hayagriva>
- <https://raw.githubusercontent.com/typst/hayagriva/main/README.md>


## 安全说明

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

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

- Nix - hayagriva: normalized package name match | nixpkgs package indexes: pkgs/by-name/ha/hayagriva/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- zypper - hayagriva - 0.14.2-2.2: normalized package name match | openSUSE Tumbleweed package metadata: hayagriva from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Standalone CLI of built-in bibliography management tool | https://github.com/typst/typst


## 相关链接

- [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.
- [Language runtime packages](https://www.automicvault.com/zh-hans/pkg/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [Networking and protocol packages](https://www.automicvault.com/zh-hans/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [rust](https://www.automicvault.com/zh-hans/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [bibclean](https://www.automicvault.com/zh-hans/pkg/brew/bibclean/) - Shares av.db curated category or tags: bibliography, cli, productivity.
- [bibtex2html](https://www.automicvault.com/zh-hans/pkg/brew/bibtex2html/) - Shares av.db curated category or tags: bibliography, cli, productivity.
- [bibutils](https://www.automicvault.com/zh-hans/pkg/brew/bibutils/) - Shares av.db curated category or tags: bibliography, cli, productivity.
- [papis](https://www.automicvault.com/zh-hans/pkg/brew/papis/) - Shares av.db curated category or tags: bibliography, cli, productivity.
- [alexjs](https://www.automicvault.com/zh-hans/pkg/brew/alexjs/) - Shares av.db curated category or tags: cli, productivity, writing.
- [diction](https://www.automicvault.com/zh-hans/pkg/brew/diction/) - Shares av.db curated category or tags: cli, productivity, writing.
- [ispell](https://www.automicvault.com/zh-hans/pkg/brew/ispell/) - Shares av.db curated category or tags: cli, productivity, writing.
- [languagetool](https://www.automicvault.com/zh-hans/pkg/brew/languagetool/) - Shares av.db curated category or tags: cli, productivity, writing.
- [gdrive](https://www.automicvault.com/zh-hans/pkg/brew/gdrive/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, management, productivity, rust.
- [joshuto](https://www.automicvault.com/zh-hans/pkg/brew/joshuto/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, management, productivity, rust.
- [tmux-sessionizer](https://www.automicvault.com/zh-hans/pkg/brew/tmux-sessionizer/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, management, productivity, rust.

## Combined YAML source

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