Node-RED currently recommends Node 12.x LTS.
|8.x||Supported||No longer maintained|
|10.x||Supported||Reaches end-of-life April 2021|
We try to stay up to date with Node.js releases. Our goal is to support the Maintenance and Active LTS releases.
We do not generally recommend using the odd numbered Node.js versions - we do not routinely test against them.
With such a large community of 3rd party nodes available to install, we cannot provide any guarantees on what they support. We rely on the community to keep up to date.
Node provides guides for installing Node.js across a wide range of Operating Systems.
nvm is a tool that can help manage Node.js installations.
It is convenient when running Node-RED as an individual user, but it is not
recommended if you want to run Node-RED as a system-level service. This is because
nvm uses scripts in a user’s profile to setup its environment. When running
as a service, those scripts do not get used.
If you change the version of Node.js you are using, you may need to rebuild Node-RED’s dependencies as well as any nodes you have installed. This is because some of them contain binary components that must be rebuilt to be compatible with the new Node.js version.
This can be done using the command
npm rebuild - but it must be run in the right
There are two places it should be run:
~/.node-red- this is where any additional nodes you have installed are.
If you installed Node-RED as a global module and are not sure where that put it,
you can use the command
npm list -g --depth 0 to find where your global modules