# 使用 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/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## 软件包事实

- **软件包键:** brew:hayagriva
- **软件包管理器:** Homebrew
- **版本:** 0.10.1
- **来源摘要:** Bibliography management tool
- **主页:** <https://github.com/typst/hayagriva>
- **仓库:** <https://github.com/typst/hayagriva>
- **最后更新:** 2026-06-14T12:16:31Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- hayagriva (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 0.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

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

- 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.15.0-1.2: normalized package name match | openSUSE Tumbleweed package metadata: hayagriva from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Standalone CLI of built-in bibliography management tool | https://github.com/typst/typst


## 相关链接

- [hayagriva](https://pkg.so/zh-hans/pkg/cargo/hayagriva/) - Same normalized package name exists in another local package ecosystem.

## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
