Menu

Node.js runtime now defaults to version 24 for Vercel Sandbox - Vercel
📰
0

Node.js runtime now defaults to version 24 for Vercel Sandbox - Vercel

Vercel News·Andy Waller·4 days ago
#ahThpD8d
#vercel#sandbox#node#await#version#photo
Reading 0:00
15s threshold

Vercel Sandbox for Node.js now uses Node.js 24 by default. This keeps the Node.js runtime aligned with the latest Node.js features and performance improvements.

If you don’t explicitly configure a runtime, Sandbox will use Node.js 24 (as shown below).

import { Sandbox } from "@vercel/sandbox";

async function main() {

const sandbox = await Sandbox.create();

const version = await sandbox.runCommand("node", ["-v"]);

console.log(`Node.js version: ${await version.stdout()}`);

}

main().catch(console.error);

Read the Sandbox documentation to learn more.

Read More