mirror of
https://github.com/vercel/vercel-plugin.git
synced 2026-09-14 15:39:47 +08:00
893 B
893 B
description
| description |
|---|
| Manage Vercel environment variables. Commands include list, pull, add, remove. Use to sync environment variables between Vercel and your local development environment. |
Vercel Environment Variables
Manage environment variables for the current Vercel project.
Actions
Based on "$ARGUMENTS":
"list" or "ls" or no arguments
- Run
vercel env lsto show all environment variables
"pull"
- Run
vercel env pullto download env vars to.env.local - For production:
vercel env pull .env.production.local --environment=production
"add "
- Run
vercel env add <NAME>and guide the user through setting the value - Ask which environments (production, preview, development)
"rm " or "remove "
- Run
vercel env rm <NAME>with confirmation
Always remind the user to add .env*.local to .gitignore to avoid committing secrets.