Environment variable
Meaning in web development, with examples
In web development, environment variable means: A named setting, such as a database URL or an API key, that is given to an app from outside the code so that it can differ between environments.
In Turkish: ortam değişkeni
How it is used
Often kept in a .env file during development and set in the hosting dashboard for staging and production. Developers read, set and rotate them; .env files with secrets are normally kept out of Git.
Example sentences
The build fails because the API_URL environment variable is missing.
Put the payment key in an environment variable, not in the source code.
Common collocations
- set an environment variable
- .env file
- missing environment variable
- env vars
Related terms
This word in other fields
The same English word can have a different meaning in another field:
More terms: Back End and Data
Practise with graded reading
Reading at the right level is the fastest way to make new words stick. Pick free English books by level:
