# Installation

Install the adapter for your framework with your preferred package manager:

```sh
npm i @tanstack/solid-hotkeys
```

Every framework adapter re-exports the core `@tanstack/hotkeys` package, so you don't need to install both.

> [!NOTE]
> Not using a framework? Install `@tanstack/hotkeys` directly for vanilla JavaScript or TypeScript.

Requires Solid 2 (Node 22.12 or newer) for `@tanstack/solid-hotkeys` 0.26 and newer, and `@tanstack/solid-hotkeys-devtools` 0.14 and newer. For Solid 1 (1.7 or newer), install `@tanstack/solid-hotkeys@0.25` and `@tanstack/solid-hotkeys-devtools@0.13` (for Solid 1.9.15 or newer).

Start with the [Solid Quick Start](./framework/solid/quick-start) and [Solid guides](./framework/solid/guides/hotkeys). To add the devtools panel, install:

```sh
npm i @tanstack/solid-devtools
npm i @tanstack/solid-hotkeys-devtools
```

See [Devtools](./devtools) for setup instructions.
