If you’re using a GROOV-AR1 with Node-RED pre-installed, you can skip this section and continue to the Node-RED Hello, world! example or the SNAP PAC Node - Introduction section.

Install SNAP PAC Nodes

Like Node-RED itself, additional Node-RED nodes are installed with the npm command-line tool.

Node-RED nodes can be installed either “locally” for the current user, or “globally” for all users on a system. For a typical single-user computer, it doesn’t matter much which method you use.

Option 1 - Global Install

On Windows, to install the SNAP PAC nodes globally, open a command prompt window and enter:

npm install -g node-red-contrib-pac

The output should look something like this:

On Linux systems, you will very likely need to prepend the command with “sudo”, like this:

sudo npm install -g node-red-contrib-pac

Option 2 - Local Install

To install for only the current user, you must be in their .node-red directory, and do not use the -g option.

  • Windows:

    cd C:\Users\<username>\.node-red
    npm install node-red-contrib-pac
  • Linux:

    cd ~/.node-red
    npm install node-red-contrib-pac

Run Node-RED

Now run Node-RED with:

node-red -v

The output will look like:

Welcome to Node-RED

16 May 15:10:26 - [info] Node-RED version: v0.13.4
16 May 15:10:26 - [info] Node.js  version: v4.2.5
16 May 15:10:26 - [info] Windows_NT 10.0.10586 x64 LE
16 May 15:10:26 - [info] Loading palette nodes
16 May 15:10:27 - [warn] ------------------------------------------
16 May 15:10:27 - [warn] [rpi-gpio] Info : Ignoring Raspberry Pi specific node
16 May 15:10:27 - [warn] [tail] Not currently supported on Windows.
16 May 15:10:27 - [warn] ------------------------------------------
16 May 15:10:27 - [info] Settings file  : C:\Users\sabrina\AppData\Roaming\npm\n
16 May 15:10:27 - [info] User directory : \Users\sabrina\.node-red
16 May 15:10:27 - [info] Flows file : \Users\sabrina\.node-red\flows_sabrina-W
16 May 15:10:27 - [info] Creating new flow file
16 May 15:10:27 - [info] Starting flows
16 May 15:10:27 - [info] Started flows
16 May 15:10:27 - [info] Server now running at

Open your web browser to the address shown (for example, and you should see the default Node-RED screen:

Node-RED default

Next Step

If you’re new to Node-RED, continue to our Node-RED Hello, world! example.

If you already know Node-RED, you can jump to the SNAP PAC Node - Introduction section.