> For the complete documentation index, see [llms.txt](https://docs.ferra.ag/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ferra.ag/integration/aggregator-v2/typescript-sdk/installation.md).

# Installation

## Installation

### Prerequisites

Before installing the Ferra Aggregator SDK, ensure you have the following:

* **Node.js**: Version 22.x or higher
* **npm** or **yarn**: Package manager
* **TypeScript**: Version 4.5 or higher (recommended)

### Package Installation

#### Using npm

```bash
npm install @ferra-labs/aggregator
```

#### Using yarn

```bash
yarn add @ferra-labs/aggregator
```

#### Using pnpm

```bash
pnpm add @ferra-labs/aggregator
```

### Peer Dependencies

The SDK requires several peer dependencies for Sui blockchain interaction:

```bash
npm install @mysten/sui @mysten/sui/transactions @mysten/sui/client
```

#### Complete Installation Command

```bash
# Install SDK and all required dependencies
npm install @ferra-labs/aggregator @mysten/sui @mysten/sui/transactions @mysten/sui/client
```

### Development Dependencies

For development and testing, you may also want to install:

```bash
npm install --save-dev typescript @types/node
```

Once installed, proceed to the [Quick Start](/integration/aggregator-v2/typescript-sdk/quick-start.md) guide to initialize your first SDK instance and execute your first swap.
