# KRNL SDK Installation

### Prerequisites

* **Node.js**: >=18.0.0
* **React**: ^18.0.0 (React 19 not yet supported due to Privy being one of the dependencies)
* **TypeScript**: ^5.0.0 (optional but recommended)
* **Browser**: Modern browsers supporting ES2020

Integrating the KRNL SDK into your dApp enhances the capabilities of transactions, through accessing the KRNL Operating System, kOS.

***

### Installing KRNL SDK

Install KRNL SDK via your package manager.

{% tabs %}
{% tab title="npm" %}

```bash
npm install @krnl-dev/sdk-react-7702
```

{% endtab %}

{% tab title="yarn" %}

```bash
yarn add @krnl-dev/sdk-react-7702
```

{% endtab %}

{% tab title="bun" %}

```bash
bun install @krnl-dev/sdk-react-7702
```

{% endtab %}

{% tab title="pnpm" %}

```bash
pnpm install @krnl-dev/sdk-react-7702
```

{% endtab %}
{% endtabs %}

### What's next?

{% content-ref url="/pages/6EXCZE4hNYlKfkW9LIID" %}
[Usage](/krnl-sdk/usage.md)
{% endcontent-ref %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.krnl.xyz/krnl-sdk/krnl-sdk-installation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
