As Node.js version 12 reached its official end of life on April 30th 2022. We are going to stop the support and require at least Node.js version 14.16.0 || >= 16.0.0
for the Netlify CLI.
This has the benefit of using new features available in Node.js and doing important security updates.
What to expect from this change
It will be done behind a major version bump 12.0.0
on the September 27th 2022.
Potential breakage
- If you’re installing the latest version of the CLI in continuous integration (CI) that is running Node.js 12 (e.g. running
npm install -g netlify-cli
inside a GitHub action), that CI job will probably error out (the nature of the error depends on the package manager you’re using and the settings passed to it). We recommend either using a specific version range or updating the CI Node.js version to Node.js 16 or greater. - If you’re installing the CLI locally in a Node.js 12 environment you should get a relevant warning/error message saying the CLI is meant to be used on Node.js 16 or greater.
If you’re already running Node.js 16 or greater no action is needed on your part