macOS
brew install codespelllocal Homebrew formula metadata
sudo port install codespellMacPorts ports tree · python/codespell/Portfile · source: api.github.com
brew
Fix common misspellings in source code and text files. Version 2.4.2 via Homebrew; verified from local package data.
install
brew install codespelllocal Homebrew formula metadata
sudo port install codespellMacPorts ports tree · python/codespell/Portfile · source: api.github.com
sudo apt install codespellDebian stable package indexes · codespell · source: deb.debian.org
sudo dnf install codespellFedora Rawhide package metadata · codespell · source: dl.fedoraproject.org
nix profile install nixpkgs#codespellnixpkgs package indexes · pkgs/by-name/co/codespell/package.nix · source: api.github.com
sudo pacman -S codespellArch Linux sync databases · codespell · source: geo.mirror.pkgbuild.com
sudo zypper install codespellopenSUSE Tumbleweed package metadata · codespell · source: download.opensuse.org
overview
Fix common misspellings in source code and text files
history
codespell is a Python command-line spell checker for source trees and text files. Its niche is deliberately narrow: it looks for known common misspellings rather than trying to act as a full dictionary-based spell checker.
The project traces its original script and library copyright to Lucas De Marchi and ProFUSION embedded systems in 2010-2011. Its maintained upstream is the codespell-project GitHub repository, which the official README identifies as both the GitHub project and repository.
codespell became useful package-manager material because it has a small CLI surface, needs no service credentials, and fits easily into automated checks. The supplied package facts list it across Homebrew, Debian, Fedora/dnf, MacPorts, Nix, Arch/pacman, Ubuntu, and openSUSE/zypper, and the upstream README documents a pre-commit hook configuration.
The CLI is normally run against a working tree or selected paths, with dry-run output by default and an optional write mode for applying fixes. Configuration is intentionally repository-local: codespell reads pyproject.toml, setup.cfg, .codespellrc, or a file passed on the command line.
For packagers and release engineers, codespell is a classic low-friction quality gate: it is deterministic, text-oriented, and easy to wire into CI, pre-commit, and distro packaging checks without needing network access or secrets.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
local files
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.
Config paths the tool may read or write during local use.
pyproject.tomlsetup.cfg.codespellrcexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
codespell | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/codespell-project/codespell
install metadata
| Package key | brew:codespell |
|---|---|
| Version | 2.4.2 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/codespell |
| Homepage | https://github.com/codespell-project/codespell |
| Repository | https://github.com/codespell-project/codespell |
| Upstream docs | https://github.com/codespell-project/codespell#readme |
| License | GPL-2.0-only |
| Source archive | https://files.pythonhosted.org/packages/2d/9d/1d0903dff693160f893ca6abcabad545088e7a2ee0a6deae7c24e958be69/codespell-2.4.2.tar.gz |
| Dependencies | python@3.14 |
| Bottle | available (on all) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | codespell |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
codespell 2.4.1-1
Find and fix common misspellings in text files
https://github.com/codespell-project/codespell/
sudo apt install codespellcodespell
nix profile install nixpkgs#codespellcodespell 2.2.6-1
Find and fix common misspellings in text files
https://github.com/codespell-project/codespell/
sudo apt install codespellcodespell 2.4.1-9.fc45
Fix common misspellings in text files
https://github.com/codespell-project/codespell/
sudo dnf install codespellcodespell 2.4.2-1
check code for common misspellings
https://github.com/codespell-project/codespell
sudo pacman -S codespellcodespell 2.4.2-1.2
Source code checker for common misspellings
https://github.com/codespell-project/codespell/
sudo zypper install codespellcodespell
sudo port install codespellsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.