---
title: "Installation"
description: "Install @bomb.sh/router with your package manager"
canonical: https://bomb.sh/docs/router/basics/installation/
---

# Installation

Install `@bomb.sh/router` with your package manager:

**npm**

```bash
npm install @bomb.sh/router
```

**pnpm**

```bash
pnpm add @bomb.sh/router
```

**Yarn**

```bash
yarn add @bomb.sh/router
```

**Bun**

```bash
bun add @bomb.sh/router
```

**Deno**

```bash
deno add npm:@bomb.sh/router
```

## Requirements

* **ES modules:** The package ships ES modules only.
* **Node.js 20 or later:** Deno and Bun run it too.
* **TypeScript types included:** No separate `@types` package is needed.

## Add a schema library

The router validates option and argument values with any [Standard Schema](https://standardschema.dev/) library, such as Zod, ArkType, or Valibot. The examples in these docs use Zod:

**npm**

```bash
npm install zod
```

**pnpm**

```bash
pnpm add zod
```

**Yarn**

```bash
yarn add zod
```

**Bun**

```bash
bun add zod
```

**Deno**

```bash
deno add npm:zod
```
