Install
@next/env
Next.js dotenv file loading
16.5.0Latest, 2 Dec 2026
431MDownloads, last month
0Advisories on the latest
0Advisories, all versions
MITLicence
144KStars
6.2/10OpenSSF Scorecard
Source · Ask AI Mode · · Markdown
In the news
- I checked four months of Claude Code logs. My .env files were opened 244 times, never by the Read tool dev.to, 3 Dec 2026
- Why I stopped putting API keys in .env for coding agents (Kiroween Hackathon 2026) dev.to, 3 Dec 2026
- 4 Ways AI Coding Agents Bypass .env Rules (And How to Stop Them in <50ms) dev.to, 3 Dec 2026
- Managing Environment Variables and Config Across Vercel Envs dev.to, 2 Dec 2026
- Six ways a .env file quietly lies to you dev.to, 1 Dec 2026
On Hacker News
- Show HN: #!/usr/bin/env docker run 496 points, 173 comments, 14 Jan 2024
- Mise: Dev tools, env vars, task runner 468 points, 189 comments, 7 Dec 2024
- Show HN: Flox 1.0 – Open-source dev env as code with Nix 382 points, 192 comments, 13 Mar 2024
- Launch HN: Doppler (YC W19) – Easily manage your env vars and secrets 222 points, 134 comments, 8 Oct 2020
Sources: npm, deps.dev (CC BY 4.0), OSV. Last checked 4 Dec 2026.