Automic VaultAutomic Vault

brew

使用 Homebrew, apk, Nix, pacman, scoop, winget 安装 typos-cli

查看 typos-cli 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install typos-cli

local Homebrew formula metadata

Windows

Scoop已验证 · 92%
scoop install main/typos

Scoop official bucket manifest trees · bucket/typos.json · 来源: api.github.com

Windows Package Manager已验证 · 92%
winget install --id Crate-CI.Typos -e

Windows Package Manager source index · Crate-CI.Typos · 来源: cdn.winget.microsoft.com

概览

软件包摘要

Source code spell checker

命令和别名

  • typos

历史

项目历史与用法

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.

项目历史

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.

采用历史

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.

使用方式

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.

为什么软件包爱好者会关心

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.

时间线

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

安全态势

尚未找到受保护工具覆盖

没有找到 typos-cli 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

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

Config paths the tool may read or write during local use.

Unix
file supplied via --config PATHtypos.toml_typos.toml.typos.tomlCargo.tomlpyproject.toml

可执行文件

已安装的可执行文件

命令类型暴露范围备注
typoscli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-26
管理器版本1.48.0
管理器更新时间2026-06-30
本地数据OK
上游当前
检测到的最新版本v1.48.0

https://github.com/crate-ci/typos

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:typos-cli
版本1.48.0
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/typos-cli
主页https://github.com/crate-ci/typos
仓库https://github.com/crate-ci/typos
上游文档https://github.com/crate-ci/typos#readme
许可证Apache-2.0 OR MIT
源码归档https://github.com/crate-ci/typos/archive/refs/tags/v1.48.0.tar.gz
最后更新2026-06-30T22:09:34Z
Pulseupdated
构建依赖rust
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nametypos-cli
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix92%

typos

nix profile install nixpkgs#typos
  • installed executable or alias match
  • 匹配方式:Typos
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ty/typos/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk92%

typos 1.47.1-r0

Source code spell checker

https://github.com/crate-ci/typos

sudo apk add typos
  • License: MIT OR Apache-2.0
  • Architecture: x86_64
  • Source Package: typos
  • 1 依赖
  • 1 提供
  • installed executable or alias match
  • 匹配方式:Typos
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: typos from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk92%

typos-doc 1.47.1-r0

Source code spell checker (documentation)

https://github.com/crate-ci/typos

sudo apk add typos-doc
  • License: MIT OR Apache-2.0
  • Architecture: x86_64
  • Source Package: typos
  • installed executable or alias match
  • 匹配方式:Typos
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: typos-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
pacman92%

typos 1.47.2-1

Source code spell checker

https://github.com/crate-ci/typos

sudo pacman -S typos
  • License: MIT OR Apache-2.0
  • Architecture: x86_64
  • 1 依赖
  • installed executable or alias match
  • 匹配方式:Typos
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: typos from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
Scoop92%

main/typos

scoop install main/typos
  • installed executable or alias match
  • 匹配方式:Typos
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/typos.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
winget92%

Crate-CI.Typos

winget install --id Crate-CI.Typos -e
  • installed executable or alias match
  • 匹配方式:Typos
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: Crate-CI.Typos from https://cdn.winget.microsoft.com/cache/source.msix

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment