> For the complete documentation index, see [llms.txt](https://elacity.gitbook.io/elacity-sdks/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://elacity.gitbook.io/elacity-sdks/documentation/media-packager/getting-started/installation.md).

# Installation

> **Package**: `@elacity-js/media-packager`\
> **Version**: 0.0.1

## Installation

The `@elacity-js/media-packager` package depends on other Elacity SDK packages. Install all required dependencies:

```bash
npm install @elacity-js/media-packager @elacity-js/api @elacity-js/contracts @elacity-js/common
# or
yarn add @elacity-js/media-packager @elacity-js/api @elacity-js/contracts @elacity-js/common
```

### Additional Dependencies

For blockchain interactions, you'll also need a contract runner adapter:

**For Ethers.js (v6)**:

```bash
npm install @elacity-js/contracts-ethers-adapter ethers
```

**For Viem**:

```bash
npm install @elacity-js/contracts-viem-adapter viem
```

### Node.js Environment

If using in Node.js (backend), install `form-data` for FormData support:

```bash
npm install form-data
```

## Package Dependencies

* `@elacity-js/api` - API client and background job service
* `@elacity-js/contracts` - Smart contract interactions
* `@elacity-js/common` - Core utilities and types
* `tslib` - TypeScript helper library

## TypeScript Support

The package includes full TypeScript definitions. No additional `@types` packages needed.
