# Install typos-cli with Homebrew, apk, Nix, pacman, scoop, winget

Source code spell checker. Version 1.48.0 via Homebrew; verified 2026-06-30.

## Install

```sh
sudo av install brew:typos-cli
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install typos-cli
```

  Evidence: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add typos
```

  Evidence: Alpine Linux edge package indexes: typos from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Nix (92%):

```sh
nix profile install nixpkgs#typos
```

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

- pacman (92%):

```sh
sudo pacman -S typos
```

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

### Windows

- Scoop (92%):

```sh
scoop install main/typos
```

  Evidence: Scoop official bucket manifest trees: bucket/typos.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id Crate-CI.Typos -e
```

  Evidence: Windows Package Manager source index: Crate-CI.Typos from https://cdn.winget.microsoft.com/cache/source.msix

## Package facts

- **Package key:** brew:typos-cli
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/typos-cli>
- **Version:** 1.48.0
- **Source summary:** Source code spell checker
- **Homepage:** <https://github.com/crate-ci/typos>
- **Repository:** <https://github.com/crate-ci/typos>
- **Upstream docs:** <https://github.com/crate-ci/typos#readme>
- **License:** Apache-2.0 OR MIT
- **Source archive:** <https://github.com/crate-ci/typos/archive/refs/tags/v1.48.0.tar.gz>
- **Last updated:** 2026-06-30T22:09:34Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- typos (cli)
- typos (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: 1.48.0
- Package-manager updated: 2026-06-30
- Local data: ok
- Upstream repository: https://github.com/crate-ci/typos
- Upstream latest detected: v1.48.0 (current)
## Project history and usage

typos-cli is the command-line package for `typos`, a Rust source-code spell checker. Its upstream README emphasizes two package-nerd requirements: it is fast enough for monorepos and has low enough false positives to run on pull requests.

### Project history

The crate-ci/typos repository was created in April 2019. The changelog shows the project reached 1.0.0 in May 2021, after earlier 0.x releases, and continued with frequent dictionary and correctness updates into 2026.

The official design document explains the central choice that shaped the tool: unlike dictionary-distance spell checkers, typos uses known misspelling corrections to keep automated correction and CI use low-noise. Its source-code focus includes identifier splitting for snake_case, CamelCase, acronyms, hashes, escapes, UUIDs, and other code-shaped text.

The README documents a full command-line workflow: plain `typos` for reporting, `typos --write-changes` for automatic fixes, `--diff` for patches, `--format json` for machine-readable output, and `--dump-config`, `--files`, `--identifiers`, and `--words` for debugging.

### Adoption history

Official docs present typos as both a standalone binary and an integration target. The README lists pre-built GitHub releases, `cargo install typos-cli --locked`, Homebrew, Conda, and Pacman installation paths, and it links official integration docs for GitHub Actions and pre-commit.

The batch input shows broader package-manager coverage across apk, Homebrew, Nix, Pacman, Scoop, and Winget. Upstream release metadata shows v1.48.0 published in June 2026, so the package is actively maintained in the current package-manager ecosystem.

### How it is used

In package and CI workflows, typos is used as a repository check that fails on known spelling mistakes while avoiding noisy guesses. Developers can tune false positives in `_typos.toml` or related config files, extend identifiers and words, disable content checking for localized files, and use JSON Lines output for custom integrations.

### Why package nerds care

typos-cli is significant because it packages source-code-aware spell checking as a fast, reproducible binary that fits package-manager, pre-commit, and CI habits. For maintainers who care about low-friction quality gates, its value is that it can be installed like any other dev tool and run unattended on large repositories.

### Timeline

- 2019: Public GitHub repository created.
- 2021: 1.0.0 released.
- 2024: Ongoing 1.x release train continued.
- 2026: v1.48.0 released with June 2026 dictionary updates.

### Related projects

- The official comparison document compares typos with client9/misspell, codespell, scspell3k, and topy. The README also points to editor and CI integrations including GitHub Actions, pre-commit, Visual Studio Code, typos-lsp, and GitLab Code Quality.

### Sources

- <https://api.github.com/repos/crate-ci/typos>
- <https://api.github.com/repos/crate-ci/typos/releases>
- <https://github.com/crate-ci/typos#readme>
- <https://github.com/crate-ci/typos/blob/master/CHANGELOG.md>
- <https://github.com/crate-ci/typos/blob/master/docs/comparison.md>
- <https://github.com/crate-ci/typos/blob/master/docs/design.md>
- source_facts.package-manager


## Security Notes

No matching local secret-handling manifest was found for typos-cli. Nucleus package metadata is still published here so future coverage has a stable package URL.



## 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: file supplied via --config PATH, typos.toml, _typos.toml, .typos.toml, Cargo.toml, pyproject.toml
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** typos-cli
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## Other Package-Manager Records

- Nix - typos: installed executable or alias match | nixpkgs package indexes: pkgs/by-name/ty/typos/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - typos - 1.47.1-r0: installed executable or alias match | Alpine Linux edge package indexes: typos from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Source code spell checker | https://github.com/crate-ci/typos
- apk - typos-doc - 1.47.1-r0: installed executable or alias match | Alpine Linux edge package indexes: typos-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Source code spell checker (documentation) | https://github.com/crate-ci/typos
- pacman - typos - 1.47.2-1: installed executable or alias match | Arch Linux sync databases: typos from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Source code spell checker | https://github.com/crate-ci/typos
- Scoop - main/typos: installed executable or alias match | Scoop official bucket manifest trees: bucket/typos.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - Crate-CI.Typos: installed executable or alias match | Windows Package Manager source index: Crate-CI.Typos from https://cdn.winget.microsoft.com/cache/source.msix


## 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.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [rust](https://www.automicvault.com/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [jscpd](https://www.automicvault.com/pkg/brew/jscpd/) - Shares av.db curated category or tags: cli, code-quality, developer-tools, source-code.
- [prek](https://www.automicvault.com/pkg/brew/prek/) - Shares av.db curated category or tags: cli, code-quality, developer-tools, rust.
- [addlicense](https://www.automicvault.com/pkg/brew/addlicense/) - Shares av.db curated category or tags: cli, code-quality, developer-tools, source-code.
- [codelimit](https://www.automicvault.com/pkg/brew/codelimit/) - Shares av.db curated category or tags: cli, code-quality, developer-tools.
- [precious](https://www.automicvault.com/pkg/brew/precious/) - Shares av.db curated category or tags: cli, code-quality, developer-tools.
- [sonar-scanner](https://www.automicvault.com/pkg/brew/sonar-scanner/) - Shares av.db curated category or tags: cli, code-quality, developer-tools.
- [tagref](https://www.automicvault.com/pkg/brew/tagref/) - Shares av.db curated category or tags: cli, code-quality, developer-tools.
- [codebook-lsp](https://www.automicvault.com/pkg/brew/codebook-lsp/) - Shares av.db curated category or tags: cli, code-quality, developer-tools, spell-checker.
- [typos-lsp](https://www.automicvault.com/pkg/brew/typos-lsp/) - Package names and metadata indicate a similar tool family. Shared terms: checker, cli, developer, developer-tools, spell.

## Combined YAML source

View the package source record on GitHub. [combined/typos-cli.yml](https://github.com/automic-vault/db/blob/main/combined/typos-cli.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
