> For the complete documentation index, see [llms.txt](https://docs.tonomy.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tonomy.io/build-web4-apps/installation.md).

# Install

The Tonomy SDK is a TypeScript-enabled JavaScript library

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

```bash
npm install @tonomy/tonomy-id-sdk
```

{% endtab %}

{% tab title="yarn" %}

```bash
yarn add @tonomy/tonomy-id-sdk
```

{% endtab %}
{% endtabs %}

{% hint style="warning" %}
The Tonomy SDK is ESM-only. Set your package.json to "type": "module".

**See** [**ESM Migration Guide**](/build-web4-apps/troubleshooting.md#pure-esm-compile-commonjs-not-supported)**.**
{% endhint %}

{% hint style="warning" %}
See [Troubleshooting](/build-web4-apps/troubleshooting.md) for **other issues** while installing, compiling or executing the SDK.
{% endhint %}
