← All recipes
Moderne licensed

Upgrade to Node.js 26

Recipe IDorg.openrewrite.node.migrate.upgrade-node-26Artifact@openrewrite/recipes-nodejs

Migrate deprecated APIs for Node.js 26 compatibility. Includes all migrations from Node.js 24, plus Node 25 and Node 26 deprecations.

Composite recipeProprietary

Usage

This recipe has no required configuration options. You’ll need the Moderne CLI configured before running the command below.

mod run . --recipe org.openrewrite.node.migrate.upgrade-node-26

If the recipe isn’t available locally, install it with:

mod config recipes npm install @openrewrite/recipes-nodejs

Definition

This recipe runs the following recipes in order.