Automic VaultAutomic Vault

brew

使用 Homebrew, Nix, scoop 安装 kanata

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install kanata

local Homebrew formula metadata

Linux

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

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

Windows

Scoop已验证 · 92%
scoop install extras/kanata

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

概览

软件包摘要

Cross-platform software keyboard remapper for Linux, macOS and Windows

命令和别名

  • kanata

历史

项目历史与用法

Kanata is a cross-platform software keyboard remapper for Linux, macOS, and Windows. It brings firmware-style keyboard features such as layers, tap-hold behavior, macros, unicode output, and leader sequences into a user-space program configured with Lisp-like S-expressions.

项目历史

The GitHub repository was created on 2022-04-18, and v0.1.1 was published on 2022-04-24. A July 2022 Rust community announcement for v1.0.5 described it as an advanced keyboard remapper for Windows and Linux and explicitly compared its use case to QMK and KMonad.

The README frames the project around keyboard comfort and usability: users can apply the idea of Shift-style alternate layers to arbitrary keys, then customize those layers for personal workflows. The configuration guide documents the S-expression format that defines source keys, aliases, layers, and behavior.

By 2026-07-01, Kanata had grown into a mature workstation utility with prebuilt release binaries, Cargo installation, platform notes, sample configurations, optional TCP server behavior, Interception driver support on Windows, and companion tooling such as Kanata Tray.

采用历史

Kanata's adoption is driven by people who want programmable-keyboard behavior on ordinary laptop or desktop keyboards. The README's Repology badge and batch package metadata show distribution through package systems such as Homebrew, Nix, and Scoop, while Cargo remains the native Rust installation path.

Its cross-platform design distinguishes it from platform-specific remappers and from firmware projects that require programmable keyboard hardware. That makes it attractive to users who move layouts between operating systems or who want home-row mods and layers on built-in laptop keyboards.

使用方式

Users run `kanata --cfg <configuration-file>` with a `.kbd` configuration. On Linux and macOS, extra privileges or platform drivers may be needed because Kanata intercepts keyboard input; the README points to platform-specific setup discussions and release instructions.

Common configurations define base and alternate layers, tap-hold keys, macros, unicode actions, and leader sequences. The official configuration guide and sample files serve as the main learning path.

为什么软件包爱好者会关心

Kanata is package-nerd notable because it packages a hardware-keyboard customization culture as cross-platform user-space software. It sits between firmware projects such as QMK, Linux input-layer tools, macOS keyboard utilities, and Windows interception-driver workflows.

It also carries the operational concerns package maintainers care about: privileged input access, platform-specific drivers, release assets, sample configs, and companion tray wrappers.

时间线

  • 2022: jtroo/kanata repository created and first GitHub releases published.
  • 2022: v1.0.5 announced as an advanced Windows and Linux keyboard remapper in the Rust community.
  • 2024: Configuration and platform discussions show active use across macOS, Linux, and Windows.
  • 2026: v1.11.0 release published on GitHub.

Related projects

  • QMK and KMonad are related keyboard-customization projects referenced in Kanata community material.
  • Kanata Tray is a companion tray wrapper for starting, stopping, and switching Kanata configurations.
  • The Karabiner driver and Interception driver are platform-adjacent pieces for macOS and Windows input interception workflows.

安全态势

风险级别:orange

formula declares a Homebrew service.

风险分类器

orange 风险 · 中 置信度 · infrastructure

原因

  • formula declares a Homebrew service

信号

  • metadata:service

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • formula 元数据声明了服务或守护进程块。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 构建元数据列出 1 个构建依赖。

建议审查

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
kanatacli全局可执行文件

新鲜度

版本和新鲜度

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

页面生成时间2026-07-08
管理器版本1.12.0
管理器更新时间2026-07-05
本地数据OK
上游当前
检测到的最新版本v1.12.0

https://github.com/jtroo/kanata

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

安装元数据

软件包元数据

软件包键brew:kanata
版本1.12.0
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/kanata
主页https://github.com/jtroo/kanata
仓库https://github.com/jtroo/kanata
上游文档https://github.com/jtroo/kanata#readme
许可证LGPL-3.0-only
源码归档https://github.com/jtroo/kanata/archive/refs/tags/v1.12.0.tar.gz
最后更新2026-07-05T09:17:54Z
Pulseupdated
构建依赖rust
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务declared

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namekanata
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%

kanata

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

extras/kanata

scoop install extras/kanata
  • normalized package name match
  • 匹配方式:Kanata
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/kanata.json from https://api.github.com/repos/ScoopInstaller/Extras/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 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