# 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**](https://docs.tonomy.io/troubleshooting#pure-esm-compile-commonjs-not-supported)**.**
{% endhint %}

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