Netlify CLI: Dropping support for Node.js version 12

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


Continuing the discussion from Netlify CLI: Dropping support for Node.js version 12:

hi! please see this guidance before posting here: (you can delete this text after)

all posts in this category should have relevant thematic tags: “building” “dns” etc, and the solution status: no-solution as well as updates so we can keep track of them. thanks for helping us keep things tidy!

Hi @4441114417342316 :wave:

It looks like @lukas.holzer added tags and a description to their post. Is there additional information you are looking for?

This topic was automatically closed after 13 days. New replies are no longer allowed.