Automic VaultAutomic Vault

brew

Install codespell with Homebrew, apt, dnf, MacPorts, Nix, pacman, zypper

Fix common misspellings in source code and text files. Version 2.4.2 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install codespell

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install codespell

MacPorts ports tree · python/codespell/Portfile · source: api.github.com

Linux

Debian aptverified · 92%
sudo apt install codespell

Debian stable package indexes · codespell · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install codespell

Fedora Rawhide package metadata · codespell · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#codespell

nixpkgs package indexes · pkgs/by-name/co/codespell/package.nix · source: api.github.com

Arch Linux pacmanverified · 92%
sudo pacman -S codespell

Arch Linux sync databases · codespell · source: geo.mirror.pkgbuild.com

openSUSE zypperverified · 92%
sudo zypper install codespell

openSUSE Tumbleweed package metadata · codespell · source: download.opensuse.org

overview

Package summary

Fix common misspellings in source code and text files

Commands and aliases

  • codespell

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 2010-2011: Original Python script and library copyright dates appear in the upstream README.
  • 2011: The official GitHub repository metadata records repository creation on January 28.
  • README: codespell documents pyproject.toml, setup.cfg, .codespellrc, pre-commit usage, and bundled dictionaries derived from common-misspelling lists.

Related projects

  • The upstream README documents use with pre-commit and notes dictionaries influenced by common-misspelling data, with project-specific dictionary additions maintained in the repository.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 1 platform targets.
  • Installs with 1 runtime dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

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
pyproject.tomlsetup.cfg.codespellrc

executables

Installed executables

CommandKindExposureNote
codespellcliglobal executable

freshness

Version and 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.

page generated2026-07-08
manager version2.4.2
manager updated
local dataok
upstreamnot checked
latest detectednot detected

https://github.com/codespell-project/codespell

install metadata

Package metadata

Package keybrew:codespell
Version2.4.2
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/codespell
Homepagehttps://github.com/codespell-project/codespell
Repositoryhttps://github.com/codespell-project/codespell
Upstream docshttps://github.com/codespell-project/codespell#readme
LicenseGPL-2.0-only
Source archivehttps://files.pythonhosted.org/packages/2d/9d/1d0903dff693160f893ca6abcabad545088e7a2ee0a6deae7c24e958be69/codespell-2.4.2.tar.gz
Dependenciespython@3.14
Bottleavailable (on all)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

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

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

codespell 2.4.1-1

Find and fix common misspellings in text files

https://github.com/codespell-project/codespell/

sudo apt install codespell
  • Section: devel
  • Architecture: all
  • 2 dependencies
  • normalized package name match
  • Matched by: Codespell
Debian stable package indexes · deb.debian.org · Debian stable package indexes: codespell from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

codespell

nix profile install nixpkgs#codespell
  • normalized package name match
  • Matched by: Codespell
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/co/codespell/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

codespell 2.2.6-1

Find and fix common misspellings in text files

https://github.com/codespell-project/codespell/

sudo apt install codespell
  • Section: universe/devel
  • Architecture: all
  • 2 dependencies
  • normalized package name match
  • Matched by: Codespell
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: codespell from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
dnf95%

codespell 2.4.1-9.fc45

Fix common misspellings in text files

https://github.com/codespell-project/codespell/

sudo dnf install codespell
  • License: GPL-2.0-only AND CC-BY-SA-3.0
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: codespell
  • 2 dependencies
  • 3 provides
  • normalized package name match
  • Matched by: Codespell
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: codespell from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

codespell 2.4.2-1

check code for common misspellings

https://github.com/codespell-project/codespell

sudo pacman -S codespell
  • License: GPL-2.0-only
  • Architecture: any
  • 1 dependencies
  • normalized package name match
  • Matched by: Codespell
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: codespell from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

codespell 2.4.2-1.2

Source code checker for common misspellings

https://github.com/codespell-project/codespell/

sudo zypper install codespell
  • License: GPL-2.0-only
  • Category: Development/Tools/Other
  • Architecture: noarch
  • Source Package: codespell
  • 5 dependencies
  • 3 provides
  • normalized package name match
  • Matched by: Codespell
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: codespell from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

codespell

sudo port install codespell
  • normalized package name match
  • Matched by: Codespell
MacPorts ports tree · api.github.com · MacPorts ports tree: python/codespell/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • 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