# Installation

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

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

Each 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 Solid 2. `@tanstack/solid-hotkeys` 0.26 and `@tanstack/solid-hotkeys-devtools` 0.14 and newer need Solid 2, which needs Node 22.12 or newer.

For Solid 1 (1.7 or newer), install the last releases that support it: `@tanstack/solid-hotkeys@0.25` and, for the devtools panel (Solid 1.9.15 or newer), `@tanstack/solid-hotkeys-devtools@0.13`.

Start with the [Quick Start](./framework/solid/quick-start) guide and the Solid-specific [guides](./framework/solid/guides/hotkeys). If you want the integrated devtools panel, also install:

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

See the [devtools](./devtools) documentation for setup details.
