# Install cargo-spellcheck with Homebrew, Nix, pacman

Checks rust documentation for spelling and grammar mistakes. Version 0.15.7 via Homebrew; verified 2026-06-22.

## Install

```sh
sudo av install brew:cargo-spellcheck
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install cargo-spellcheck
```

  Evidence: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#cargo-spellcheck
```

  Evidence: nixpkgs package indexes: pkgs/by-name/ca/cargo-spellcheck/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S cargo-spellcheck
```

  Evidence: Arch Linux sync databases: cargo-spellcheck from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

## Package facts

- **Package key:** brew:cargo-spellcheck
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/cargo-spellcheck>
- **Version:** 0.15.7
- **Source summary:** Checks rust documentation for spelling and grammar mistakes
- **Homepage:** <https://github.com/drahnr/cargo-spellcheck>
- **Repository:** <https://github.com/drahnr/cargo-spellcheck>
- **Upstream docs:** <https://docs.rs/crate/cargo-spellcheck/latest>
- **License:** Apache-2.0 OR MIT
- **Source archive:** <https://github.com/drahnr/cargo-spellcheck/archive/refs/tags/v0.15.7.tar.gz>
- **Last updated:** 2026-06-22T14:02:58-07:00
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- cargo-spellcheck (cli)
- cargo-spellcheck (alias)

## Dependencies

- hunspell

## Build dependencies

- llvm
- pkgconf
- 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.15.7
- Package-manager updated: 2026-06-22
- Local data: ok
- Upstream repository: https://github.com/drahnr/cargo-spellcheck
- Upstream latest detected: v0.15.7 (current)
## Project history and usage

cargo-spellcheck is a Cargo subcommand for spell-checking and grammar-checking Rust documentation and comments.

### Project history

The official README describes cargo-spellcheck as a tool that checks spelling with hunspell and grammar with nlprule, with interactive fixing and automation-oriented commands.

### Adoption history

GitHub records the repository as created in May 2020, and crates.io records the crate as first published the same month. The input package facts list Homebrew, Nix, and Arch packages.

### How it is used

The README documents `cargo spellcheck check`, `cargo spellcheck fix`, shell completions, and CI/CD or commit-hook usage. The configuration page documents explicit config via CLI flags or Cargo.toml metadata, plus implicit project and per-user config files.

### Why package nerds care

cargo-spellcheck sits in the Rust tooling niche where documentation quality becomes a build or review concern, so package maintainers can catch spelling and grammar regressions before release.

### Timeline

- 2020: GitHub repository created and first crates.io release recorded.
- 2026: crates.io records max_version 0.15.7.

### Related projects

- The README and repository topics identify hunspell, nlprule, and LanguageTool-style grammar checking as related components.

### Sources

- <https://api.github.com/repos/drahnr/cargo-spellcheck>
- <https://github.com/drahnr/cargo-spellcheck>
- <https://docs.rs/crate/cargo-spellcheck/latest>
- <https://github.com/drahnr/cargo-spellcheck/blob/master/docs/configuration.md>
- <https://github.com/drahnr/cargo-spellcheck#readme>
- <https://crates.io/api/v1/crates/cargo-spellcheck>
- <https://formulae.brew.sh/api/formula/cargo-spellcheck.json>


## Security Notes

narrow executable package without higher-risk signals.

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


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Linux: /home/alice/.config/cargo_spellcheck/config.toml
- macOS: /Users/Alice/Library/Preferences/cargo_spellcheck/config.toml
- Unix: Cargo.toml, ${CARGO_MANIFEST_DIR}/.config/spellcheck.toml, .config/spellcheck.toml
- Windows: C:\Users\Alice\AppData\Roaming\cargo_spellcheck\config.toml
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** cargo-spellcheck
- **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 - cargo-spellcheck: normalized package name match | nixpkgs package indexes: pkgs/by-name/ca/cargo-spellcheck/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- pacman - cargo-spellcheck - 0.15.7-1: normalized package name match | Arch Linux sync databases: cargo-spellcheck from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Checks all your documentation for spelling and grammar mistakes | https://github.com/drahnr/cargo-spellcheck


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Package publisher tools](https://www.automicvault.com/pkg/package-publishers/) - Belongs to a package publishing or registry command family.
- [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.
- [hunspell](https://www.automicvault.com/pkg/brew/hunspell/) - Runtime dependency declared by Homebrew.
- [llvm](https://www.automicvault.com/pkg/brew/llvm/) - Build dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [rust](https://www.automicvault.com/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [cargo-careful](https://www.automicvault.com/pkg/brew/cargo-careful/) - Both packages touch the same language runtime or ecosystem. Shared terms: cargo, checks, rust.
- [cargo-docset](https://www.automicvault.com/pkg/brew/cargo-docset/) - Both packages touch the same language runtime or ecosystem. Shared terms: cargo, documentation, rust.
- [cargo-auditable](https://www.automicvault.com/pkg/brew/cargo-auditable/) - Both packages touch the same language runtime or ecosystem. Shared terms: cargo, rust.

## Combined YAML source

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


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- 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
