Installation
Core
Includes the core functionality, compatible with any framework:
pnpm add @t3-oss/env-core zod
pnpm add @t3-oss/env-core zod
Next.js
Includes a few preconfigured options for Next.js:
pnpm add @t3-oss/env-nextjs zod
pnpm add @t3-oss/env-nextjs zod
Zod is a required peer dependency for now, but in the future we hope to bring support for any validation library of your choice.
Usage
For usage intructions, please refer to the appropriate documentation: