Forge functions currently support two classes of runtime execution environments:
Specifying your function runtime is done by defining the runtime
field in your app manifest.
1 2 3 4
app: id: <app-id> runtime: name: nodejs18.x | nodejs20.x | nodejs22.x | sandbox
Adding the runtime.name
property to the manifest file will not trigger a
major version upgrade. As such, deploying this change alone will automatically install it on all sites within the same
environment (for example, production
).
Rate this page:
Our new navigation is here to guide you on your developer journey. Dive in and explore the refreshed Forge documentation!