macOS
brew install harperlocal Homebrew formula metadata
安装
brew install harperlocal Homebrew formula metadata
sudo apk add harperAlpine Linux edge package indexes · harper · 来源: dl-cdn.alpinelinux.org
nix profile install nixpkgs#harpernixpkgs package indexes · pkgs/by-name/ha/harper/package.nix · 来源: api.github.com
sudo pacman -S harperArch Linux sync databases · harper · 来源: geo.mirror.pkgbuild.com
scoop install main/harperScoop official bucket manifest trees · bucket/harper.json · 来源: api.github.com
winget install --id Automattic.harper-ls -eWindows Package Manager source index · Automattic.harper-ls · 来源: cdn.winget.microsoft.com
概览
Grammar Checker for Developers
历史
Harper is an offline, privacy-oriented English grammar checker for developers and technical writers. It began as a Rust-powered grammar and spell-checking engine, then grew into a multi-surface project with a language server, CLI, WebAssembly package, browser extensions, editor integrations, and an Obsidian integration.
The repository history begins in October 2023 with experiments around highlighting, spelling, capitalization, and a Wagner-Fischer edit-distance implementation. By January 2024 the project was tagging early releases and packaging separate components such as harper-core and harper-ls.
Harper's README explains its design motivation as a response to expensive, network-bound, and heavy grammar checkers. The author describes Harper as a private tool that runs locally, lints quickly, and avoids sending writing to remote services. The project later moved under the Automattic GitHub organization, while the public repository retained its Rust workspace structure and developer-facing integrations.
Harper reached users through developer tools rather than only through a standalone writing app. Official language-server docs list package-manager and ecosystem distribution through Homebrew, Scoop, Arch, Nixpkgs, Cargo, and GitHub release binaries. The same docs show editor-oriented adoption through LSP support and integrations for Visual Studio Code, Neovim, Helix, Emacs, Zed, Sublime Text, Markdown, comments in programming languages, and related writing surfaces.
The 1.0.0 release notes framed the milestone around a stable API and noted significant pre-1.0 usage across Chrome, Obsidian, VS Code, Neovim, and other integrations. That release made Harper more credible as a library and embedded grammar-checking component, not only as an end-user binary.
The Homebrew package exposes `harper-cli` and `harper-ls`. In editor workflows, `harper-ls` provides Language Server Protocol diagnostics, dictionaries, code actions, ignore comments, rule configuration, dialect selection, and support for many programming and markup languages.
Harper's architecture makes it useful in both interactive and embedded contexts: the language server serves editors, the CLI fits scripts and package-manager installs, and `harper.js`/WebAssembly supports local linting in web or desktop applications.
Harper is a useful package-manager case because it is simultaneously a Rust CLI, a language server, and a library ecosystem. A package needs to expose developer-facing executables while matching the upstream release cadence and keeping integrations compatible with editor/LSP expectations.
It also represents a broader packaging trend: privacy-preserving local AI-adjacent writing tools that avoid hosted services but still integrate into developer editors, docs workflows, and programmable text-processing environments.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
harper-cli | cli | 全局可执行文件 | |
harper-ls | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/Automattic/harper
安装元数据
| 软件包键 | brew:harper |
|---|---|
| 版本 | 2.6.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/harper |
| 主页 | https://writewithharper.com |
| 仓库 | https://github.com/Automattic/harper |
| 上游文档 | https://writewithharper.com/docs/integrations/language-server |
| 许可证 | Apache-2.0 |
| 源码归档 | https://github.com/Automattic/harper/archive/refs/tags/v2.6.0.tar.gz |
| 最后更新 | 2026-06-24T19:03:05Z |
| Pulse | updated |
| 构建依赖 | rust |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | harper |
| 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
harper
nix profile install nixpkgs#harperharper 2.1.0-r0
English grammar checker
https://github.com/Automattic/harper
sudo apk add harperharper 2.4.0-1
The Grammar Checker for Developers
https://github.com/Automattic/harper
sudo pacman -S harpermain/harper
scoop install main/harperAutomattic.harper-ls
winget install --id Automattic.harper-ls -e来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.