Automic VaultAutomic Vault

brew

使用 Homebrew, apk, Nix, pacman, scoop, winget 安装 harper

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install harper

local Homebrew formula metadata

Linux

Alpine Linux apk已验证 · 92%
sudo apk add harper

Alpine Linux edge package indexes · harper · 来源: dl-cdn.alpinelinux.org

Nix已验证 · 92%
nix profile install nixpkgs#harper

nixpkgs package indexes · pkgs/by-name/ha/harper/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S harper

Arch Linux sync databases · harper · 来源: geo.mirror.pkgbuild.com

Windows

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

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

Windows Package Manager已验证 · 92%
winget install --id Automattic.harper-ls -e

Windows Package Manager source index · Automattic.harper-ls · 来源: cdn.winget.microsoft.com

概览

软件包摘要

Grammar Checker for Developers

命令和别名

  • harper-cli
  • harper-ls

历史

项目历史与用法

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.

时间线

  • 2023-10: Repository history begins with grammar-checking and highlighting experiments.
  • 2024-01: Early public tags, including v0.2.0, appear for the Rust workspace packages.
  • 2025-11: Version 1.0.0 is released as an API-stability milestone after broad editor and extension adoption.
  • 2026-04: Version 2.0.0 is released with breaking changes for harper.js binary imports and additional smaller improvements.
  • 2026-06: Version 2.6.0 is tagged in the upstream repository.

Related projects

  • LanguageTool and Grammarly are explicit comparison points in Harper's README motivation.
  • harper-ls is the language-server frontend used by editor integrations.
  • harper.js is the WebAssembly/JavaScript-facing package for embedding local linting.

来源

  • Official Harper repository README, release notes, and language-server documentation.
  • Upstream git tag history for public release timing.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

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

建议审查

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
harper-clicli全局可执行文件
harper-lscli全局可执行文件

新鲜度

版本和新鲜度

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

页面生成时间2026-07-08
管理器版本2.6.0
管理器更新时间2026-06-24
本地数据OK
上游当前
检测到的最新版本v2.6.0

https://github.com/Automattic/harper

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

安装元数据

软件包元数据

软件包键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
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 Nameharper
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

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

Nix95%

harper

nix profile install nixpkgs#harper
  • normalized package name match
  • 匹配方式:Harper
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ha/harper/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

harper 2.1.0-r0

English grammar checker

https://github.com/Automattic/harper

sudo apk add harper
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: harper
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Harper
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: harper from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
pacman95%

harper 2.4.0-1

The Grammar Checker for Developers

https://github.com/Automattic/harper

sudo pacman -S harper
  • License: Apache-2.0
  • Architecture: x86_64
  • 2 依赖
  • normalized package name match
  • 匹配方式:Harper
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: harper from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
Scoop95%

main/harper

scoop install main/harper
  • normalized package name match
  • 匹配方式:Harper
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/harper.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
winget95%

Automattic.harper-ls

winget install --id Automattic.harper-ls -e
  • normalized package name match
  • 匹配方式:Harper
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: Automattic.harper-ls 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 package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment