# Installation

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

```sh
npm i @tanstack/svelte-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 Svelte 5.40 or newer within version 5.

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

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

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