# Installation Guide

## 📦 Installation

### Prerequisites

Ensure you have the following peer dependencies in your project:

- `@nestjs/common` (versions: `^9.0.0 || ^10.0.0 || ^11.0.0 || ^12.0.0`)
- `@prisma/client` (version: `^4.0.0 || ^5.0.0`)

### Install the Library

```bash
# Install the main library
npm install @algochad/prisma-core

# Install peer dependencies if not already installed
npm install @nestjs/common @prisma/client
```

### Setup Prisma (if not already configured)

```bash
# Initialize Prisma in your project
npx prisma init

# Generate Prisma client after defining your schema
npx prisma generate

# Run migrations
npx prisma migrate dev
```

## Next Steps

After installation, proceed to the [Quick Setup Guide](./quick-setup.md) to configure your project.
