Vercel CLI flag lets developers skip dev link hangs in local Next.js builds
A Vercel CLI environment variable called VERCEL_EXPERIMENTAL_DEV_SKIP_LINK allows developers to bypass the step where the CLI attempts to create or refresh a dev link against a Vercel project during local Next.js development. The flag is set by adding VERCEL_EXPERIMENTAL_DEV_SKIP_LINK=1 to the shell session or to the project's .env.local file before restarting the dev server. It is particularly useful in offline environments, CI containers, and monorepo workspaces where the link handshake would otherwise cause the process to hang. Because the variable lives under Vercel's VERCEL_EXPERIMENTAL_ namespace, its behavior may change between CLI versions and it is not intended for production logic. Disabling the dev link also drops access to Vercel-only local emulators such as KV, Postgres, and Edge Config, making the flag best suited for projects that do not rely on those services locally.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in