next-dev.ts
:
next dev
server.env.local
using vercel env pull
. After 12 hours the development token expires, meaning
you will have to call vercel env pull
again.
In production, Vercel manages token expiration for you.
VERCEL_OIDC_TOKEN
is
unavailable, you can also authenticate using an access token:
VERCEL_TEAM_ID
, VERCEL_PROJECT_ID
, and VERCEL_TOKEN
. Then pass these to
the create
method:
timeout
option of Sandbox.create()
.node22
image ships a Node 22 runtime under /vercel/runtimes/node22
.python3.13
image ships a Python 3.13 runtime under /vercel/runtimes/python
.vercel-sandbox
user./vercel/sandbox
is writable.node22
and python3.13
images allow users to run commands as root. This
can be used to install packages and system tools:
HOME
is set to /root
– Executed commands will source root’s configuration
files (e.g. .gitconfig
, .bashrc
, etc).PATH
is left unchanged – sudo won’t change the value of PATH, so local or
project-specific binaries will still be found.