This chart details the versions of Node.js and npm used for each branchbranch A directory in Subversion. WordPress uses branches to store the latest development code for each major release (3.9, 4.0, etc.). Branches are then updated with code for any minor releases of that branch. Sometimes, a major version of WordPress and its minor versions are collectively referred to as a “branch”, such as “the 4.0 branch”. of WordPress.
| WordPress Version | Current Node.js Version | engines.node Value | npm Version | engines.npm Value | Original Node.js Version |
trunk | 20 | >=20.10.0 | 10.2 | >=10.2.3 | NA |
| 6.9 | 20 | >=20.10.0 | 10.2 | >=10.2.3 | 20 |
| 6.8 | 20 | >=20.10.0 | 10.2 | >=10.2.3 | 20 |
| 6.7 | 20 | >=20.10.0 | 10.2 | >=10.2.3 | 20 |
| 6.6 | 20 | >=20.10.0 | 10.2 | >=10.2.3 | 20 |
| 6.5 | 20 | >=20.10.0 | 10.2 | >=10.2.3 | 16 |
| 6.4 | 20 | >=20.10.0 | 10.2 | >=10.2.3 | 16 |
| 6.0-6.3 | 14 | >=14.15.0 | 6 | >=6.14.8 <7 | 14 |
| 5.6-5.9 | 14 | >=14.15.0 | 6 | >=6.14.8 | 14 |
| 5.5 | 14 | >=14.15.0 | 6 | >=6.14.8 | 12 |
| 5.1-5.4 | 14 | >=14.15.0 | 6 | >=6.14.8 | 10 |
| 5.0 | 14 | >=14.15.0 | 6 | >=6.14.8 | 8 |
| 4.7-4.9 | 14 | >=14.15.0 | 6 | >=6.14.8 | 6 |
| 3.7-4.6 – EOL branches (no security updates) | 14 | >=14.15.0 | 6 | >=6.14.8 | ? |
Past changes to the Node.js/npm versions used are as follows:
- WordPress 6.5: the minimum required versions were raised to
20.10.0and10.2.3. This update was also backported to the 6.4 branch. - WordPress 6.4: minimum required versions raised to
16.19.1and8.19.3. - WordPress 5.6: minimum required versions raised to
14.15.0and6.14.8(see [49636]). - WordPress 5.5: minimum required versions raised to
12.16.0and6.14.0(see [47872]). - WordPress 5.1: minimum required versions raised to
10.13.0and6.1.0(see [44219]). - WordPress 5.0: minimum required version of Node.js raised to
8.9.3(see [42461]). The first minimum version of npm was specified inengines.npm(see [43320]). - WordPress 4.8: The first minimum version of Node.js,
6.9.1, was specified inengines.node(see [39478]). - WordPress 3.7: The new build scripts were implemented in #24976.
- August 6, 2013: A New Frontier for Core Development is published outlining the plan to reorganize the project’s development assets and create a build process for WordPress CoreCore Core is the set of software required to run WordPress. The Core Development Team builds WordPress..