$ man environment-variables

Engineering · Deployment

Environment Variables

Secret values like API keys that you don't want in your code.

by Shawn Tenam


なぜ重要か

API keys, database passwords, MCP tokens. These can't live in your repo. They'd be public on GitHub. Environment variables let you reference them without exposing them.

どう使うか

Create a .env file locally with API_KEY=your_key_here. Add it to .gitignore so it never gets committed. On Vercel, add the same variables in the dashboard so your deployed site can access them.


関連用語
Environment Files
エンジニアリング&AIガイドすべての用語
ShawnOS.ai|theGTMOS.ai|theContentOS.ai
built with Next.js · Tailwind · Claude · Remotion