Environment Variables
Dynamic configuration values stored outside your code that control how your app behaves across different environments.
What are Environment Variables?
Environment variables are name-value pairs that configure your application without hardcoding settings into your source code.
They live outside your codebase (in your OS, hosting platform, or deployment config) and get loaded when your app runs. Think of them like settings that change based on where your code is running.
Most builders use them for API keys, database URLs, and feature flags. You set them once in your deployment platform (like Vercel or Render), and your app pulls them in at runtime. This means you can use different values for development, staging, and production without changing a single line of code.
Free to use (they're just key-value pairs). Every hosting platform supports them, and most frameworks have built-in ways to access them securely.
Good to Know
How Vibe Coders Use Environment Variables
Frequently Asked Questions
Your Idea to AI Business In Days
Join Dan, Zehra and 0 others building AI businesses in days with video tutorials and 1 on 1 support.
Related Terms
Automated HTTP messages that apps send to each other when events happen, enabling real-time data sharing without constant polling.
The process of moving your code from development to production where real users can access it.
A text-based interface where you type commands to control your computer, install packages, run scripts, and manage files.
A no-code automation platform that connects your apps so they work together automatically through workflows called Zaps.
A set of rules that lets different software programs talk to each other and share data or functionality.
Join 0 others building with AI