Install the adapter for your framework with your preferred package manager:
npm i @tanstack/react-hotkeyspnpm add @tanstack/react-hotkeysyarn add @tanstack/react-hotkeysbun add @tanstack/react-hotkeysEach framework package re-exports everything from the core @tanstack/hotkeys package, so you don't need to install the core package separately.
Note
If you are not using a framework, you can install the core @tanstack/hotkeys package directly for use with vanilla JavaScript.
Use Alpine 3.15.12 or newer within version 3. Install the optional hotkeysPlugin before Alpine.start(), or create a scope explicitly.
Start with the Quick Start, then follow the guides. The package includes the hotkeys adapter; a dedicated Alpine devtools adapter is not provided.
Use Ember 6.8 or newer. Register hotkeys with imported template helpers in strict-mode .gts components. Pass the component as owner to state readers and recorders.
Start with the Quick Start, then follow the guides. The package includes the hotkeys adapter; a dedicated Ember devtools adapter is not provided.
Use Octane 0.1.36 or newer within version 0.1, with compiler-enabled .tsrx components. The Octane adapter requires Node.js 22.22.2 or newer when used in Node.js.
Start with the Quick Start, then follow the guides. The package includes the hotkeys adapter; a dedicated Octane devtools adapter is not provided.
Start with the Quick Start guide. If you want the integrated devtools panel, also install:
Start with the API reference and guides. If you want the integrated devtools panel, also install:
Start with the API reference and guides. If you want the integrated devtools panel, also install:
Start with the Quick Start guide and the Svelte-specific guides. If you want the integrated devtools panel, also install:
Start with the Quick Start guide and the Angular-specific guides.
The integrated devtools panel requires Angular 21 or newer. To use it, also install:
Start with the Quick Start guide and the Vue-specific guides.
If you want the Vue devtools panel component, also install:
Start with the Quick Start guide and the Lit-specific guides.
Lit currently ships the hotkeys adapter only, so no dedicated Lit devtools package is required.
npm i @tanstack/react-devtools
npm i @tanstack/react-hotkeys-devtoolspnpm add @tanstack/react-devtools
pnpm add @tanstack/react-hotkeys-devtoolsyarn add @tanstack/react-devtools
yarn add @tanstack/react-hotkeys-devtoolsbun add @tanstack/react-devtools
bun add @tanstack/react-hotkeys-devtools