Installing Node-RED for Mac
In this section, we will explain how to set up Node-RED in a macOS environment. This procedure is for macOS Mojave. It will likely work for all versions of Mac OS X, but I strongly recommend that you use the current version of macOS.
For macOS, installing Node-RED as a global module adds the node-red
command to your system path. Run the following command in the Terminal. You may need to add sudo
at the front of the command, depending on your local settings:
$ sudo npm install -g --unsafe-perm node-red
You can also install Node-RED with other tools. This is mainly for Mac/Linux or the kinds of OS that support the following tools:
- Docker (https://www.docker.com/), if you have the environment for running Docker.
The current Node-RED 1.x repository on Docker Hub has been renamed "
nodered/node-red
".Versions up to 0.20.x are available from https://hub.docker.com/r/nodered/node-red-docker.
Important note
When running Node-RED with Docker...