T3 Stack · Concept
Zod
T3 Env supports any validator that implements Standard Schema v1. This lets you validate server and client environment variables with libraries such as Zod, Valibot, or ArkType.
Last updated
Syntax
createEnv({ server, clientPrefix, client, runtimeEnv, extends? })In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
Standard SchemaZodValibotArkTypecreateEnvpresets-zodpresets-valibotpresets-arktype