Vercel Sandbox now accepts environment variables at creation
Vercel Sandbox now supports setting environment variables at creation time, making them automatically available to all subsequent commands run within the sandbox.
The Vercel Sandbox and now support setting environment variables at sandbox creation that are automatically available to every command.SDKCLI When running multi-step processes in a like installing dependencies, building a project or starting a dev server, each step often needs the same environment variables. Now, these are available with every call.Vercel SandboxrunCommand Environment variables passed to are inherited by all commands automatically.
Per-command env in can still override individual values when needed.Sandbox.create()runCommand Update to the latest Sandbox CLI and SDK, run to get started.npm i @vercel/sandbox Read more