Documentation Index
Fetch the complete documentation index at: https://docs.envless.cloud/llms.txt
Use this file to discover all available pages before exploring further.
The runtime mode populates process.env and exposes a typed env object directly to your code. No .env files on disk, no dotenv step, no process.env.X typos that silently return undefined.
Five-minute setup
Generate types
envless-env.d.ts next to your package.json. Commit it — no secrets, only the shape.What you can delete
- Your
.env/.env.local/.env.developmentfiles (or keep them — real env still wins as override). dotenvanddotenv-clifrompackage.json.- Any
t3-env/envalid/ hand-rolled validation — the schema lives in Envless now. .env.*entries in.gitignore.
What it looks like in practice
Every property is autocompleted. Misspell one and TypeScript fails the build. Miss a required value and it throws at boot with a useful message.
Framework-specific setup
Next.js
App Router, Pages Router, Edge.
Vite
SPAs, SvelteKit, Astro, Remix-on-Vite.
Node
Express, Fastify, Hono, scripts.
Bun
Preload hook or direct import.
Workers / Edge
Cloudflare, Vercel Edge, Netlify Edge.
Next steps
Server vs Client
Split visibility so secrets never end up in your client bundle.
Typed Variables
How codegen, coercion, and validation work.