# Installation

## Install the core package

`@hurum/core` is the framework-agnostic foundation. It has **zero runtime dependencies**.

```sh
    npm install @hurum/core
    ```
  ```sh
    pnpm add @hurum/core
    ```
  ```sh
    yarn add @hurum/core
    ```
  ## Add React bindings (optional)

If you are using React, install `@hurum/react` for hooks, Provider, and the `Store.use.*` API.

```sh
    npm install @hurum/react
    ```
  ```sh
    pnpm add @hurum/react
    ```
  ```sh
    yarn add @hurum/react
    ```
  `@hurum/react` only peer-depends on `react` — no other dependencies are pulled in.

## Requirements

| Requirement | Version |
|---|---|
| TypeScript | 5.0+ |
| React (for `@hurum/react`) | 18+ |

Hurum relies on TypeScript features like `const` type parameters and template literal types for full type inference. TypeScript 5.0 or later is required.

`@hurum/core` works in any JavaScript runtime — Node.js, Deno, Bun, browsers, React Native. No framework dependency at all.

## Build formats

Both packages ship as **CJS + ESM dual builds**, so they work with any bundler or runtime without configuration.

## Next steps

You are ready to go. Head to the [Quick Start](https://hurum.dev/getting-started/quick-start/) to build your first Hurum store.