What does "environment variable" mean in programming?
environment variable is one of the most common terms in software development. This guide explains what it means, how it is used in practice, and why it matters, with real examples from the developer world.
Definition
A named value stored outside the application code that configures its behavior in a specific environment. Environment variables hold secrets (API keys, database URLs), feature flags, and settings that differ between local, staging, and production. They prevent secrets from being hardcoded in source code.
Example
"The database URL is stored in the DATABASE_URL environment variable — different values are set in local, staging, and production."
Related terms
Ready to practice your English at work?
Lingua-e has interactive exercises built around real developer conversations: standups, code reviews, retrospectives, and more. Practice until it comes naturally.
Try Lingua-e for free