Skip to content
masterclass Buddy

T3 Stack · Concept

T3 Env

T3 Env validates environment variables with schemas and exposes them through a typed env object. It separates server values from client values to help prevent accidental secret exposure.

Last updated

Syntax

createEnv({ server, client, runtimeEnv })

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

Subscribe
  • Standard Schema
  • Zod
  • Valibot
  • ArkType
  • Typia
  • @t3-oss/env-nextjs
  • .env.example

Source: Introduction ⋅ T3 Env. Checked 2026-11-03.