---
layout: default
title: Installation
parent: Guides
nav_order: 1
---

To use `phenopackets-js` in your project, install it via npm:

```bash
npm install @berntpopp/phenopackets-js
```

or using yarn:

```bash
yarn add @berntpopp/phenopackets-js
```

## Prerequisites

Your development environment should include:

- Node.js (LTS versions recommended)
- npm or yarn

## Usage

After installation, you can import the library in your JavaScript/TypeScript code:

```javascript
const pps = require('@berntpopp/phenopackets-js');
```

or using ES modules:

```javascript
import * as pps from '@berntpopp/phenopackets-js';
```
