# Installation (/docs/getting-started/installation)



## Install the package [#install-the-package]

```bash title="terminal"
pnpm add @vlandoss/env
```

## Pick a schema validator [#pick-a-schema-validator]

`@vlandoss/env` is **agnostic to the schema validator** — the core relies on [Standard Schema](https://github.com/standard-schema/standard-schema), so any Standard Schema–compatible validator works (Zod, Valibot, ArkType, …). Install the one you'll actually use; you don't need any of them if you're plugging in your own.

The docs and the opt-in primitives at `@vlandoss/env/zod` are written against Zod, so it's the most common pick:

```bash title="terminal"
pnpm add zod
```

## Peer dependencies [#peer-dependencies]

Peers are **optional** — install only the ones whose entrypoints you import:

| If you import…        | Install                          |
| --------------------- | -------------------------------- |
| `@vlandoss/env/zod`   | `zod@^4`                         |
| `@vlandoss/env/vite`  | `vite@>=5`                       |
| `@vlandoss/env/react` | `react@>=19`, `react-dom@>=19`   |
| `@vlandoss/env/fs`    | *(none — Node-compat built-ins)* |

## Available entrypoints [#available-entrypoints]

The package is split into a small set of entrypoints, each with its own page in the [API reference](/docs/api-reference) — signatures, options, return types, and examples:

| Entrypoint            | Reference                                 |
| --------------------- | ----------------------------------------- |
| `@vlandoss/env`       | [Core](/docs/api-reference/core)          |
| `@vlandoss/env/fs`    | [Filesystem](/docs/api-reference/fs)      |
| `@vlandoss/env/vite`  | [Vite](/docs/api-reference/vite)          |
| `@vlandoss/env/react` | [React](/docs/api-reference/react)        |
| `@vlandoss/env/zod`   | [Zod primitives](/docs/api-reference/zod) |

## Next [#next]

Go to [Quickstart](/docs/getting-started/quickstart) for a minimal Node example, or jump to [Concepts](/docs/concepts/overview) for the mental model.
