macOS
brew install autocorrectlocal Homebrew formula metadata
brew
Linter and formatter to improve copywriting, correct spaces, words between CJK. Version 2.16.3 via Homebrew; verified from local package data. Also installable with nix: nix profile install nixpkgs#autocorrect.
install
brew install autocorrectlocal Homebrew formula metadata
nix profile install nixpkgs#autocorrectnixpkgs package indexes · pkgs/by-name/au/autocorrect/package.nix · source: api.github.com
scoop install main/autocorrectScoop official bucket manifest trees · bucket/autocorrect.json · source: api.github.com
winget install --id Texthelp.AutoCorrect -eWindows Package Manager source index · Texthelp.AutoCorrect · source: cdn.winget.microsoft.com
overview
Linter and formatter to improve copywriting, correct spaces, words between CJK
history
AutoCorrect is a Rust-based linter and formatter for CJK and English mixed text, aimed at standardizing spacing, punctuation and copywriting in documents, source comments and publishing workflows.
The current GitHub repository was created on 2020-05-26, but the README says the underlying scheme first appeared in 2013 in the Ruby China project and was refined over time. The project later became a cross-platform Rust CLI with SDK bindings.
The README positions AutoCorrect alongside tools such as ESLint, RuboCop and gofmt: it can lint, print diffs, format files and integrate with CI. GitHub releases show an active 2.x series through v2.16.3, published on 2026-01-03.
AutoCorrect's adoption is strongest in Chinese-language and CJK publishing/developer communities, where mixed Latin and CJK text needs consistent spacing and punctuation. The README names scenarios such as books, documentation, media publishing, project source code, static-site generators, CI checks and editor plugins.
The package facts show distribution through Homebrew, Nix, Scoop and winget, while the README advertises release channels and bindings for Docker, crates.io, npm, PyPI, RubyGems and Maven Central.
Typical CLI usage is direct formatting or linting: autocorrect text.txt, echo text piped to autocorrect --stdin, autocorrect --fix, or autocorrect --lint with colored diff or JSON output.
Configuration is created with autocorrect init, which writes .autocorrectrc. The README says the config can use YAML or JSON and controls rules such as CJK/English spacing, punctuation width, spelling, code-block behavior and custom vocabulary.
AutoCorrect is package-interesting because it packages language-specific editorial rules as a fast native CLI but also exports the engine across several language ecosystems. It sits between a formatter, a prose linter and a documentation-quality gate.
For Homebrew users, it is one of the less common examples of a text formatter where the primary domain is multilingual typography rather than programming-language syntax.
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.
.autocorrectrcexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
autocorrect | 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/huacnlee/autocorrect
install metadata
| Package key | brew:autocorrect |
|---|---|
| Version | 2.16.3 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/autocorrect |
| Homepage | https://huacnlee.github.io/autocorrect/ |
| Repository | https://github.com/huacnlee/autocorrect |
| Upstream docs | https://huacnlee.github.io/autocorrect |
| License | MIT |
| Source archive | https://github.com/huacnlee/autocorrect/archive/refs/tags/v2.16.3.tar.gz |
| Build dependencies | rust |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | autocorrect |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| 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.
autocorrect
nix profile install nixpkgs#autocorrectmain/autocorrect
scoop install main/autocorrectTexthelp.AutoCorrect
winget install --id Texthelp.AutoCorrect -esource 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.