# hotkeysPlugin

```ts
function hotkeysPlugin(alpine): void;
```

Defined in: [hotkeysPlugin.ts:6](https://github.com/TanStack/hotkeys/blob/main/packages/alpine-hotkeys/src/hotkeysPlugin.ts#L6)

Installs $hotkeys, whose registrations and subscriptions belong to its element.

## Parameters

### alpine

`Alpine`

## Returns

`void`
