Skip to content

Glossary: Next.js Beyond the Basics

Environment variable

Also written: env var, ENV

A named setting, such as DB_FILE, PORT or BETTER_AUTH_SECRET, supplied from outside the code so secrets stay out of the source.

Where the book teaches it

Related terms

.env.localNEXT_PUBLIC_ variables