← All recipes
Moderne licensed

Upgrade to Node.js 24

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

Migrate deprecated APIs for Node.js 24 compatibility. Includes all migrations from Node.js 22, plus Node 23 and Node 24 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-24

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.