# Install hayagriva with Homebrew, Nix, zypper

Bibliography management tool. Version 0.10.1 via Homebrew; verified 2026-06-14.

## 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/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

## Package facts

- **Package key:** brew:hayagriva
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/hayagriva>
- **Version:** 0.10.1
- **Source summary:** Bibliography management tool
- **Homepage:** <https://github.com/typst/hayagriva>
- **Repository:** <https://github.com/typst/hayagriva>
- **Upstream docs:** <https://github.com/typst/hayagriva#readme>
- **License:** Apache-2.0 OR MIT
- **Source archive:** <https://github.com/typst/hayagriva/archive/refs/tags/v0.10.1.tar.gz>
- **Last updated:** 2026-06-14T12:16:31Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- hayagriva (cli)
- hayagriva (alias)

## Build dependencies

- rust

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 0.10.1
- Package-manager updated: 2026-06-14
- Local data: ok
- Upstream repository: https://github.com/typst/hayagriva
- Upstream latest detected: v0.10.1 (current)
## 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

## Source Database Details

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

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


## Related links

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


## Sources

- 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
