# Install hayagriva with Homebrew, Nix, zypper

Bibliography management tool. Version 0.10.1 via Homebrew; verified 2026-06-14. Also installable with nix: nix profile install nixpkgs#hayagriva.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install hayagriva
```

  Evidence: local Homebrew formula metadata

### Linux

- Nix (92%):

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

  Evidence: 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
```

  Evidence: openSUSE Tumbleweed package metadata: hayagriva from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## Package facts

- **Package key:** brew:hayagriva
- **Package manager:** Homebrew
- **Version:** 0.10.1
- **Source summary:** Bibliography management tool
- **Homepage:** <https://github.com/typst/hayagriva>
- **Repository:** <https://github.com/typst/hayagriva>
- **Last updated:** 2026-06-14T12:16:31Z
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- hayagriva (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 0.10.1
## Project history and usage

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.

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

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

### Sources

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


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Other Package-Manager Records

- 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


## Related links

- [hayagriva](https://pkg.so/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)


## Sources

- 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
