6 You can get the latest version from <http://nodejs.org/download/>.
8 Or, you may want to use a version from your operating system's package manager:
9 <https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager>
13 Clone the repository from GitHub:
15 $ git clone git@github.com:node-red/node-red.git
17 ## Install the pre-requisite modules
19 From the top-level directory of Node-RED, run:
23 This will install the core pre-requisite modules.
27 From the top-level directory, run:
31 You can then access Node-RED at <http://localhost:1880>.
33 Online documentation is available at <http://nodered.org/docs>.
35 ## Installing individual node dependencies
37 When Node-RED starts, it attempts to load the nodes from the `nodes/` directory.
38 Each will have its own set of dependencies that will need to be installed before
39 the node is available in the palette.
41 To help identify the dependencies, Node-RED logs any modules it fails to find
42 for a particular node. You don't have to install these unless you want or need
45 Alternatively, a node's `.js` file can be examined to identify the modules it
46 explicitly requires. For example, the Twitter node is defined in
47 `nodes/social/27-twitter.js` and contains:
49 var RED = require("../../red/red");
50 var ntwitter = require('ntwitter');
51 var OAuth= require('oauth').OAuth;
53 Of these, `ntwitter` and `oauth` are neither built-in modules nor ones provided
54 by Node-RED itself. They can subsequently be installed by running:
56 $ npm install ntwitter oauth