Environment Variables – Vercel Docs

PHOTO EMBED

Sat Jun 04 2022 00:54:06 GMT+0000 (Coordinated Universal Time)

Saved by @itsbrex

vercel env pull
Downloading Development Environment Variables for Project my-lovely-project
✅ Created .env file [510ms]
content_copyCOPY

Running the command will create a .env file in the current directory, which can then be consumed by your framework's Development Command (like next dev). If you're using vercel dev, there's no need to run vercel env pull, as vercel dev automatically downloads the Development Environment Variables into memory.

https://vercel.com/docs/concepts/projects/environment-variables