---
Product: Aspose.PDF
Platform: typescript
Page Type: docs
Canonical URL: https://docs.aspose.org/pdf/typescript/getting-started/installation
---

# Installation

Install Aspose.PDF FOSS for TypeScript with npm and verify the @asposefoss/pdf import.

## Overview

This guide shows how to install Aspose.PDF FOSS for TypeScript and verify the
package resolves. It targets Node.js 22 and later and has no other runtime
dependencies.

---

### Prerequisites

| Requirement | Detail |
|---|---|
| Node.js | 22 or later |
| OS | Windows, Linux, or macOS |
| Runtime dependencies | None |

---

### 1. Install the package

```bash
git clone https://github.com/aspose-pdf-foss/Aspose.PDF-FOSS-for-TypeScript.git
cd Aspose.PDF-FOSS-for-TypeScript
npm install
npm run build
```

---

### 2. Verify the installation

Import the `Document` class to confirm the package resolves correctly:

```typescript
import { Document } from '@asposefoss/pdf';
```

---

### Next Steps

- [Developer Guide](../../developer-guide/) — feature-level documentation
- [Core API](../../developer-guide/core-api/) — document and page management

## See Also

- [Aspose.PDF — Enterprise Documentation](https://docs.aspose.com/pdf/)