Skip to content

Glossary: Node.js Basics

Environment variable

Also written: process.env, env var

A named text value the shell gives to every program it starts, read in Node with `process.env`. Values are always strings, or `undefined` if unset.

Where the book teaches it

Related terms

.env fileNODE_ENVSecret