Updated: 2024-01-03
Node-RED currently recommends Node 20.x.
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 recommend using the odd numbered Node.js versions - we do not routinely test against them.
Node-RED Version | Minimum Node.js Version |
---|---|
4.x | 18 |
3.x | 14 |
2.x | 12 |
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.
If you are running on a Raspberry Pi or BeagleBone Black, please read the guides we provide for those devices.
nvm
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
directory.
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
are installed.
Node-RED: Low-code programming for event-driven applications.
Copyright OpenJS Foundation and Node-RED contributors. All rights reserved. The OpenJS Foundation has registered trademarks and uses trademarks. For a list of trademarks of the OpenJS Foundation, please see our Trademark Policy and Trademark List. Trademarks and logos not indicated on the list of OpenJS Foundation trademarks are trademarks™ or registered® trademarks of their respective holders. Use of them does not imply any affiliation with or endorsement by them.
The OpenJS Foundation | Terms of Use | Privacy Policy | OpenJS Foundation Bylaws | Trademark Policy | Trademark List | Cookie Policy