Installing Node Red

From GlassTTY
Jump to: navigation, search

This section describes the installation procedure for Node Red on Arch Linux.

Install the node package manager

   $ pacman -S npm
   $ pacman -S python2 (this may only be needed when using ArchLinuxARM on a Pi)

Install Node Red

   $ sudo npm install -g --unsafe-perm node-red

For Rasberry Pi add the python GPIO Library

NOTE: This is out of date

   wget https://aur.archlinux.org/packages/ra/raspberry-gpio-python/raspberry-gpio-python.tar.gz
   tar xf raspberry-gpio-python.tar.gz
   cd raspberry-gpio-python
   makepkg -Acs --asroot
   pacman -U raspberry-gpio-python<hit-tab-key-here>

To run Node Red (non-Pi) use the command

   $ node-red

If running on a Pi use the command

   $ node-red-pi