# Install cspell with Homebrew, Nix

Spell checker for code. Version 10.0.1 via Homebrew; verified 2026-06-01. Also installable with nix: nix profile install nixpkgs#cspell.

## Install

```sh
sudo av install brew:cspell
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install cspell
```

  Evidence: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#cspell
```

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

## Package facts

- **Package key:** brew:cspell
- **Package manager:** Homebrew
- **Version:** 10.0.1
- **Source summary:** Spell checker for code
- **Homepage:** <https://cspell.org>
- **Last updated:** 2026-06-01T13:13:33Z
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- cspell (alias)

## Install behavior

- Bottle: not available

## Freshness

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

CSpell is a spell checker for code, distributed as a Node-based CLI and library. Its niche is checking identifiers, comments, documentation, and source trees with dictionaries tuned for programming languages.

### Project history

The package README says cspell is a command-line tool and library for spell checking code, and that it was initially built as the spell-checking service for the Code Spell Checker extension for Visual Studio Code. The top-level README describes the current repository as the CSpell mono-repo.

### Adoption history

CSpell moved from editor-extension infrastructure into a standalone CLI used in local projects and CI. The official docs document npm, Yarn, pnpm, Bun, npx, and GitHub Action use, while the repository lists packages for the CLI, library, bundled dictionaries, ESLint plugin, glob handling, trie tools, and related support libraries.

### How it is used

Official docs show typical CLI usage such as cspell . or cspell lint patterns, plus configuration discovery from JSON, YAML, JavaScript, TypeScript, TOML, package.json, and .vscode files. The package README emphasizes code-aware parsing, CamelCase and snake_case handling, language-specific dictionaries, and custom word lists.

### Why package nerds care

CSpell is interesting to packagers because it is both a user-facing CLI and a dependency graph of dictionary and parser packages. Homebrew packaging gives non-Node users a simple cspell executable, while npm remains the canonical upstream distribution channel.

### Timeline

- 2017: npm package cspell 1.0.0 was published.
- 2023: GitHub releases show v7.3.1 in the available releases page.
- 2026: npm and Homebrew metadata list cspell 10.0.1 as current.

### Related projects

- The package README links CSpell to the Code Spell Checker extension for VS Code, and the repository lists cspell-dicts as the place for dictionary word changes.

### Sources

- <https://github.com/streetsidesoftware/cspell#readme>
- <https://github.com/streetsidesoftware/cspell/tree/main/packages/cspell#readme>
- <https://cspell.org/docs/getting-started>
- <https://cspell.org/docs/Configuration>
- <https://cspell.org/docs/installation>
- <https://registry.npmjs.org/cspell>
- <https://formulae.brew.sh/formula/cspell>


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

- Unix: ./cspell.json
## Other Package-Manager Records

- Nix - cspell: normalized package name match | nixpkgs package indexes: pkgs/by-name/cs/cspell/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Combined YAML source

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


## Sources

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