Karabiner-Elements
Fumihiko Takayama (pqrs.org) and contributors · Free macOS keyboard customizer for simple remaps, conditional complex rules, device-specific mappings and input-event inspection.
- 近 30 天安裝
- 5,355
- App榜第 65
- 近一年安裝
- 5.9萬
- 365 天累計
- 最新版本
- 16.3.0
- 10月7日 · 10月7日
- 下載大小
- 42MB
- arm64 / x86_64 · dmg
- 更新節奏
- 不定期
- 近 30 天 1 個版本
Karabiner-Elements 是一款系統工具類 Mac 軟體。開發者是 Fumihiko Takayama (pqrs.org) and contributors。
基本資訊
- 晶片
- Apple 晶片 · Intel
- 開發者
- Fumihiko Takayama (pqrs.org) and contributors
- 安裝命令
brew install --cask karabiner-elements- Homebrew
- 可以安裝,應用會自行更新
- 其他名稱
- Karabiner Elements, karabiner-elements
以上資訊最早核查於 。檢視各項來源
介紹
Karabiner-Elements is a free, open-source keyboard customizer for macOS, maintained by Fumihiko Takayama (tekezo/pqrs.org) and contributors. It is useful for developers, keyboard enthusiasts and people who need device-specific or application-specific input behavior.
Features
- Create simple key-to-key mappings in the graphical Settings app.
- Import community complex modifications or write your own JSON/JavaScript rules.
- Customize function keys, modifiers, simultaneous keys and conditional actions.
- Choose which keyboards or pointing devices to modify and use separate profiles.
- Inspect input events and device identifiers with Karabiner-EventViewer.
- Use supported mouse-key and MultitouchExtension features and CLI controls.
Install and enable
Install with brew install --cask karabiner-elements, or open the official DMG and run the included PKG installer. This installs background services and a virtual keyboard/mouse driver; administrator authorization is required for the installer and privileged service approval. Open Karabiner-Elements Settings and follow its setup prompts in macOS System Settings: allow privileged/non-privileged background services, grant Accessibility/Input Monitoring permissions as required, and allow the Driver Extension. The current guide notes Accessibility approval normally also covers Input Monitoring. Choose the virtual keyboard layout matching your physical keyboard, then add a simple mapping and test it.
Requirements and platforms
The current16.3.0 release supports macOS13 Ventura through27 Golden Gate. Intel and Apple Silicon Macs are supported on macOS13–26; the repository lists macOS27 for Apple Silicon. Older systems need the vendor’s older releases, such as14.13.0 for macOS11–12; do not install the current package solely because an older version once supported your Mac. This is a macOS utility; no official Windows, Linux, iOS or Android edition is established. Minimum RAM and installed storage were not published in the cited guide. The official16.3.0 DMG is42,388,528bytes, distinct from installed footprint.
The recorded cask installs a PKG and declares no extra formula dependencies or explicit cask conflicts. Its virtual HID driver and background services are required for actual remapping. Other tools that alter keyboard input can require compatibility configuration; see the vendor’s Logitech Logi Options+ Fn-key guidance rather than assuming every input tool works together. Build-tool dependencies in the source repository are for compilation, not prerequisites for the signed downloadable package.
When upgrading from15.9.0 or earlier, automatic service startup is disabled; open Karabiner-Elements.app after upgrading to re-enable it. Use the documented uninstaller because components live outside the application bundle.
Cost, account and license
No service account or subscription is required for local keyboard remapping. The project is free and accepts optional sponsorship/donations. Its main project license is public domain/Unlicense; bundled third-party components retain their respective licenses. Imported rules can run actions, so review the rules you choose to enable.
Sources: Official website, Installation, Repository, Release notes, License.
系統要求
| macOS | 應用版本 | 晶片 | 下載 | 來源 |
|---|---|---|---|---|
| 適用於 macOS 27, 26, 15, 14, 13 的版本 | 16.3.0 | Intel | github.com/pqrs-org/Karabiner-Elements/releases/download/v16.3.0/Karabiner-Elements-16.3.0.dmgSHA-256 19cce7bed3d48a722242ca683bd1bae406b6a87fed520728d1c91dee175b75e4 | Homebrew核查於 |
| 適用於 macOS 27, 26, 15, 14, 13 的版本 | 16.3.0 | Apple 晶片 | github.com/pqrs-org/Karabiner-Elements/releases/download/v16.3.0/Karabiner-Elements-16.3.0.dmgSHA-256 19cce7bed3d48a722242ca683bd1bae406b6a87fed520728d1c91dee175b75e4 | Homebrew核查於 |
| 適用於 macOS 12, 11 的版本 | 14.13.0 | Intel | github.com/pqrs-org/Karabiner-Elements/releases/download/v14.13.0/Karabiner-Elements-14.13.0.dmgSHA-256 826270a21b7f4df9b9a8c79c9aad4de8f48021f58eaacbee1d4f150c963c6cbc | Homebrew核查於 |
| 適用於 macOS 12, 11 的版本 | 14.13.0 | Apple 晶片 | github.com/pqrs-org/Karabiner-Elements/releases/download/v14.13.0/Karabiner-Elements-14.13.0.dmgSHA-256 826270a21b7f4df9b9a8c79c9aad4de8f48021f58eaacbee1d4f150c963c6cbc | Homebrew核查於 |
如何在 Mac 上安裝 Karabiner-Elements
- 在「終端機」中執行:
brew install --cask karabiner-elements - Homebrew 會執行安裝檔 Karabiner-Elements.pkg,需要輸入管理員密碼。
不用 Homebrew 安裝
直接下載 Homebrew 使用的同一個檔案: github.com/pqrs-org/Karabiner-Elements/releases/download/v16.3.0/Karabiner-Elements-16.3.0.dmg
SHA-256 只用來核對下載的檔案是否完整,不代表安全認證。 檢視 SHA-256 和下載網址
解除安裝 Karabiner-Elements 與可選的資料清理
brew uninstall --cask karabiner-elements普通解除安裝會刪除應用本身,設定和快取會保留。
解除安裝時還會處理
- 背景服務(launchctl)
org.pqrs.karabiner.agent.karabiner_grabberorg.pqrs.karabiner.agent.karabiner_observerorg.pqrs.karabiner.karabiner_console_user_serverorg.pqrs.karabiner.karabiner_grabberorg.pqrs.karabiner.karabiner_observerorg.pqrs.karabiner.karabiner_session_monitororg.pqrs.karabiner.NotificationWindow- 檔案和資料夾
/Library/Application Support/org.pqrs
深度清理(可選)
brew uninstall --zap --cask karabiner-elements--zap 還會刪除 Homebrew 定義裡列出的設定、快取等檔案,其中可能有其他應用共用的資料,刪除後無法恢復;它也不保證沒有任何殘留。請先備份需要保留的資料;如要保留設定和快取,請不要加 --zap。
Karabiner-Elements 可能留在 Mac 上的檔案(8)
- 檔案和資料夾
~/.config/karabiner~/.local/share/karabiner~/Library/Application Scripts/org.pqrs.Karabiner-VirtualHIDDevice-Manager~/Library/Application Support/Karabiner-Elements~/Library/Caches/org.pqrs.Karabiner-Elements.Updater~/Library/Containers/org.pqrs.Karabiner-VirtualHIDDevice-Manager~/Library/HTTPStorages/org.pqrs.Karabiner-Elements.Settings~/Library/Preferences/org.pqrs.Karabiner-Elements.Updater.plist
以上條目來自 Homebrew 定義,核查於 ;它們只說明定義宣告會刪除什麼,不代表你的 Mac 上都有。
16.3.0 更新內容
新版本 · OpenNavo 編輯
這個版本沒有單獨的更新說明。
Karabiner-Elements 的安全事實
這裡只列可以核驗的事實,並註明來源和日期,不是安全認證。要檢查你下載的檔案,可以用 OpenNavo 在本機掃描。
- 分發渠道
- Homebrew
- 是否開源
- 是 · github.com/pqrs-org/Karabiner-Elements · Unlicense核查於
安裝細節
- 來源倉庫
- homebrew/cask
- 安裝檔
- Karabiner-Elements.pkg
- 附帶命令
- karabiner_cli
- 下載網址
- https://github.com/pqrs-org/Karabiner-Elements/releases/download/v16.3.0/Karabiner-Elements-16.3.0.dmg
- SHA-256
- 19cce7bed3d48a722242ca683bd1bae406b6a87fed520728d1c91dee175b75e4
- Homebrew 定義檔案
- github.com/homebrew/homebrew-cask/blob/HEAD/Casks/k/karabiner-elements.rb
- formulae.brew.sh
- formulae.brew.sh/cask/karabiner-elements
- 原始碼
- github.com/pqrs-org/Karabiner-Elements
安裝與解除安裝內容
解除安裝
uninstall檢視完整宣告
{ "uninstall": [ { "delete": "/
Library/ Support/Application org. "early_script": { "executable": "/pqrs", Library/ Support/Application org. "sudo": true }, "launchctl": [ "org.pqrs/ Karabiner-DriverKit-VirtualHIDDevice/ scripts/ uninstall/ remove_files. sh", pqrs. "org.karabiner. agent. karabiner_grabber", pqrs. "org.karabiner. agent. karabiner_observer", pqrs. "org.karabiner. karabiner_console_user_server", pqrs. "org.karabiner. karabiner_grabber", pqrs. "org.karabiner. karabiner_observer", pqrs. "org.karabiner. karabiner_session_monitor", pqrs. ], "pkgutil": [ "org.karabiner. NotificationWindow" pqrs. "org.Karabiner-DriverKit-VirtualHIDDevice", pqrs. ], "script": { "executable": "/Karabiner-Elements" Library/ Support/Application org. "sudo": true }, "signal": [ [ "TERM", "org.pqrs/ Karabiner-Elements/ uninstall_core. sh", pqrs. ], [ "TERM", "org.Karabiner-Menu" pqrs. ] ] } ] }Karabiner-NotificationWindow" 安裝
pkg來源檔案: Karabiner-Elements.
pkg 檢視完整宣告
{ "pkg": [ "Karabiner-Elements.
pkg" ] }安裝
binary來源檔案: /
Library/ Support/Application org. pqrs/ Karabiner-Elements/ bin/ karabiner_cli 宣告的目標位置: $HOMEBREW_PREFIX/
bin/ karabiner_cli 檢視完整宣告
{ "binary": [ "/
Library/ Support/Application org. ], "target": "$HOMEBREW_PREFIX/pqrs/ Karabiner-Elements/ bin/ karabiner_cli" bin/ }karabiner_cli" 清理使用者資料
zap檢視完整宣告
{ "zap": [ { "trash": [ "~/
. "~/config/ karabiner", . "~/local/ share/ karabiner", Library/ Scripts/Application org. "~/pqrs. Karabiner-VirtualHIDDevice-Manager", Library/ Support/Application Karabiner-Elements", "~/Library/ "~/Caches/ org. pqrs. Karabiner-Elements. Updater", Library/ "~/Containers/ org. pqrs. Karabiner-VirtualHIDDevice-Manager", Library/ "~/HTTPStorages/ org. pqrs. Karabiner-Elements. Settings", Library/ ] } ] }Preferences/ org. pqrs. Karabiner-Elements. Updater. plist"
關於 Karabiner-Elements 的常見問題
Karabiner-Elements 安全嗎?
Karabiner-Elements 收錄在 Homebrew 官方軟體庫中,沒有被停用。自 2026 年 9 月起,Homebrew 會停用沒有通過 macOS Gatekeeper 檢查的應用。安裝時,Homebrew 會用 SHA-256 校驗值核對來自 github.com 的安裝檔。過去 30 天,它透過 Homebrew 安裝了 5,355 次。
Karabiner-Elements 是開源軟體嗎?
Karabiner-Elements 的原始碼公開在 GitHub 上(pqrs-org/Karabiner-Elements),使用 Unlicense 授權。
如何在 Mac 上徹底解除安裝 Karabiner-Elements?
執行 brew uninstall --cask karabiner-elements。它會停止 7 個背景服務、清除 2 條安裝記錄。要連設定和快取一起刪除,執行 brew uninstall --zap --cask karabiner-elements。--zap 還會刪除 Homebrew 定義裡列出的設定、快取等檔案,其中可能有其他應用共用的資料,刪除後無法恢復;它也不保證沒有任何殘留。請先備份需要保留的資料;如要保留設定和快取,請不要加 --zap。這會再刪除 8 處檔案和資料夾,包括 ~/。
Karabiner-Elements 支援 Apple 晶片(M1 及更新)的 Mac 嗎?
Apple 晶片和 Intel 晶片的 Mac 都能用 Homebrew 安裝,兩者使用同一個安裝檔。
Karabiner-Elements 的設定和資料儲存在哪裡?
設定儲存在 ~/。資料儲存在 ~/、~/和~/。這些位置來自 Homebrew 的清理清單。
Karabiner-Elements 的最新版本是多少?
最新版本是 16.3.0,Homebrew 收錄於 9月6日。Karabiner-Elements 會自動更新;想用 Homebrew 更新時,執行 brew upgrade --cask --greedy karabiner-elements。
安裝 Karabiner-Elements 還會裝上什麼?
還會裝上 1 個命令列工具:karabiner_cli。它透過 .pkg 安裝器安裝,安裝時需要輸入管理員密碼。
來源
頁面上的每項資料都註明來源和核查日期;過期的資料只寫「截至」某日,不再當作當前事實。
- Homebrew 定義:github.com/homebrew/homebrew-cask/blob/HEAD/Casks/k/karabiner-elements.rb · 核查於
- formulae.brew.sh:formulae.brew.sh/cask/karabiner-elements
- 安全事實:github.com/pqrs-org/Karabiner-Elements · 核查於