Installing Node.js 24 on the build server

Could Node.js 24 be installed on the wordpress.org build server? At the time of publishing, the latest version is 24.15.0 paired with npm version 11.12.1.

wordpress-develop and gutenberg are currently using version 20.x, which reached end-of-life (EOL) on April 30, 2026 (final release being published on March 24, 2026) and has a number of known security vulnerabilities that will not be patched. 24.x have Active or Maintenance LTS status through April 30, 2028.

A good amount of discussion has taken place already as there are a number of features in recent versions of Node.js/npm that the CoreCore Core is the set of software required to run WordPress. The Core Development Team builds WordPress. & Security teams are hoping to take advantage of:

  • Full native support for ES modules, including interop between ES and CommonJS modules.
  • The ability to configure a min-release-age value within .npmrc for defensive supply-chain configurations (npm >= 11.0.0).
  • Running TypeScript files natively, with built-in type stripping, with no need for transpilation (experimental warning removed in 24.11.0).
  • Trusted publishing for npm packages to eliminate the need for long-lived npm tokens in favor of OpenID Connect  (npm >= 11.5.1).

Older Branches

Node.js 20.x is being used back through the 6.4 branch. Early testing shows those branches can be updated to 24.x without any dependency updates required with no resulting changes to the built WordPress files. More testing is needed, but ideally all of these branches would be upgraded in addition to trunk.

cc/ @aduth, @sirreal, @jsnajdr, @manzoorwanijk.

#nodejs, #prio2

Install Node.js 20.x on the build server

Could Node.js 20.x be installed on the build server? At the time of publishing this, the latest version is 20.10.0 paired with npm version 10.2.3.

18.x is now in Maintenance LTS (installed following this request). 20.x is now Active LTS until October 2024 when it will enter Maintenance LTS until April of 2026. While remaining on 18.x is fine, updating to the latest of 20.x is preferable because this will allow both CoreCore Core is the set of software required to run WordPress. The Core Development Team builds WordPress. and GutenbergGutenberg The Gutenberg project is the new Editor Interface for WordPress. The editor improves the process and experience of creating new content, making writing rich content much simpler. It uses ‘blocks’ to add richness rather than shortcodes, custom HTML etc. https://wordpress.org/gutenberg/ to use the latest version of Node.js, as well as completely skipping 18.x and eliminating the need for 16.x.

The current breakdown for WordPress versions to Node.js is as follows:

  • WP/Gutenberg trunk: Node.js 16.x with plans to upgrade to 18.x during the 6.5 cycle.
  • WP 6.4: Node.js 16.x.
  • WP <= 6.3: Node.js 14.x.

If 20.x is made available, WP trunk and the 6.4 branch can be upgraded to both use Node.js 20.x, essentially eliminating the need for both 16.x and 18.x on the build server from the perspective of Core and Gutenberg. I’ve confirmed that there are no changes to the built files after updating to 20.x as seen in the linked PR. Older branches of Core (6.3 and earlier) will remain on Node.js 14.x.

#prio2

#nodejs

Upgrade Node.js/npm on the Build Server

Can Node.js 18.x be installed on the build server with the paired version of npm (currently 9.3.1)?

CoreCore Core is the set of software required to run WordPress. The Core Development Team builds WordPress. currently uses Node.js 14.x, which will reach EOL on April 30, 2023. Work is underway for both Core and GutenbergGutenberg The Gutenberg project is the new Editor Interface for WordPress. The editor improves the process and experience of creating new content, making writing rich content much simpler. It uses ‘blocks’ to add richness rather than shortcodes, custom HTML etc. https://wordpress.org/gutenberg/ to support 18.x (see Core Trac-56658 and this Gutenberg PR/Issue list). The changes needed to support 18.x are being made now with the aim of changing the actual version used in both locations prior the EOL date in a few months.

There are currently no plans to update older branches receiving minor or security releases at this time, so 14.x will need to remain on the server for the time being.

CC: @gziolo who I’ve been coordinating with on the Gutenberg side of things.

#prio2

#nodejs

Update svn1 node versions for Gutenberg

As per #4974-meta for future CoreCore Core is the set of software required to run WordPress. The Core Development Team builds WordPress. builds the NodeJS/NPM versions will need bumping for proper GutenbergGutenberg The Gutenberg project is the new Editor Interface for WordPress. The editor improves the process and experience of creating new content, making writing rich content much simpler. It uses ‘blocks’ to add richness rather than shortcodes, custom HTML etc. https://wordpress.org/gutenberg/ building. The PR won’t be merged prior to the svn build servers being updated.

Gutenberg now requires Node.js 12.x and npm > 6.9.x and the “build server” requires updating to accommodate this.
At the time of creating this ticket:
* the latest Node.js LTS release is 12.14.1 https://nodejs.org/en/
* the latest npm release is 6.13.6 https://blog.npmjs.org/
See also: https://github.com/WordPress/gutenberg/pull/19680

For any questions, you’ll need to follow up with someone more involved with Gutenberg development, see the above TracTrac Trac is the place where contributors create issues for bugs or feature requests much like GitHub.https://core.trac.wordpress.org/. ticket or Gutenberg PR.

#prio2

#4974-meta, #nodejs

Node.js 8.x on build server

Hi, as per #3320-meta could we please have a Node 8.x LTS release installed on WordPress.orgWordPress.org The community site where WordPress code is created and shared by the users. This is where you can download the source code for WordPress core, plugins and themes as well as the central location for community conversations and organization. https://wordpress.org/?
This will be needed for WordPress 5.0 & GutenbergGutenberg The Gutenberg project is the new Editor Interface for WordPress. The editor improves the process and experience of creating new content, making writing rich content much simpler. It uses ‘blocks’ to add richness rather than shortcodes, custom HTML etc. https://wordpress.org/gutenberg/ (once merged) build scripts to operate.

Currently we have a 0.10.x & 6.9.x release available in the nodejs-base role.

#prio2

#3320-meta, #nodejs

Hi can I please have node installed for…

Hi, can I please have node installed for both wporg-svn and dev-base? Needed for a new set of WordPress build processes.

https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager#debian-lmde

#nodejs, #request