Skip to content
masterclass Buddy

T3 Stack · Pipe

next

@t3-oss/env-nextjs validates Next.js environment variables with schemas. It separates server values from client values and exports a typed env object for application code.

Last updated

Syntax

createEnv({ server, client, runtimeEnv })

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • createEnv
  • zod
  • Standard Schema
  • runtimeEnv
  • experimental__runtimeEnv
  • transpilePackages
  • next.config.ts

Source: Next.js ⋅ T3 Env. Checked 2026-11-03.