Menu

Preserve local environment variables when linking with the Vercel CLI - Vercel
📰

Preserve local environment variables when linking with the Vercel CLI - Vercel

Vercel News·Melkey Moksyakov·10 days ago
#d3oEUllH
#vercel#file#preserves#local#photo
Reading 0:00
15s threshold

The Vercel CLI now preserves your .env.local file when running vercel link. Previously, linking could overwrite variables already in the file. The CLI now updates VERCEL_OIDC_TOKEN if it exists, or appends it if missing, without touching anything else.

Run pnpm i -g vercel@latest to update, then run vercel link to get started. Learn more in the vercel link documentation.