Skip to content
Agents tracked: 506 Releases (7d): 634 Agent status: 3 with issuesSince last limit reset: Claude 15d · Codex 0d For AI agents: Markdown Updated Nov 26, 2026

T3 Env

Type-safe environment variable validation for Next.js applications with compile-time safety.

Dev workflow and configNPM

GitHubWebsite

1. License

License from npm.

github.com/t3-oss/t3-env

From the package registry and GitHub, checked daily. Tap a verdict to see its source.How we checkedReport an error

What T3 Env does

Type-safe environment variable validation for Next.js applications with compile-time safety.

T3 Env popularity

59 / 100
Gid Score, #1122 overall
3.7M
downloads a week, npm
4,029
GitHub stars
27
agent projects use it
T3 Env: downloads per weeknpm, @t3-oss/env-nextjs 3,706,198
T3 Env: GitHub starst3-oss/t3-env 4,029

Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated

How T3 Env is used

  • T3 Env is a dependency in 27 of the 6,258 public GitHub projects set up for AI coding agents that we scanned (0.6% of the 4,867 JavaScript/TypeScript ones), #45 of 299 in dev workflow and config.
  • Counting the projects our scan samples by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750), it appears in 161; those are left out of every share on this page.
  • The most used alternative in our scan is dotenv (974 projects).
  • Projects that use it most often also use Next.js (100.0%), Zod (96.3%), clsx (85.2%).

By coding agent

15 projects, 0.5%
15 projects, 0.5%
13 projects, 0.5%

Often used with

In 100.0% of its projects
In 96.3% of its projects
In 85.2% of its projects
In 77.8% of its projects
In 100.0% of its projects
In 74.1% of its projects
In 66.7% of its projects
In 92.6% of its projects

More about T3 Env

Funding
  • GitHub Sponsors: https://github.com/juliusmarminge
  • 9 GitHub sponsors

See all

More in Dev workflow and config

Alternatives

T3 Env This page

MITGid 593.7M/wk

dotenv

Load environment variables from .env files into process.env.

BSD-2-ClauseGid 86288M/wk

cross-env

Set environment variables across Windows, Mac and Linux in npm scripts.

MITGid 7436.9M/wk

Compare T3 Env with another tool

Get started

Install it.

npm install @t3-oss/env-nextjs

No step-by-step start for T3 Env yet: we have not written its hand-checked card.