Skip to content

Commit df1b890

Browse files
author
Dave Conway-Jones
committed
update Pi docs to reflect latest reality
1 parent af7d6ca commit df1b890

1 file changed

Lines changed: 4 additions & 11 deletions

File tree

docs/hardware/raspberrypi.md

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,8 @@ layout: default
33
title: Running on Raspberry Pi
44
---
55

6-
Node-RED comes preinstalled on the full Raspbian SD card image that can be downloaded from [RaspberryPi.org](https://www.raspberrypi.org/downloads/raspbian/).
7-
8-
While usable, this uses an older version of Node.js and it is recommended to upgrade to the latest using the bash command below.
6+
From June 2018 Node-RED can be installed from the Pi Menu - Preferences - Recommended Software application installed on the Raspbian SD card image that can be downloaded from [RaspberryPi.org](https://www.raspberrypi.org/downloads/raspbian/). If installed in this manner it can be upgraded either by using `sudo apt-get upgrade` or using the script below.
7+
Once the script below has been run then you upgrade by re-running the script.
98

109
### Install / Upgrade
1110

@@ -50,14 +49,6 @@ The script will perform the following steps
5049
- add menu shortcut and icon
5150
- add systemd script and set user
5251
- if on a Pi add a CPU temperature -> IoT example
53-
- update the local update script
54-
55-
As of Node-RED version 0.14.x a version of the upgrade script is pre-installed and will do a full upgrade to the latest Node.js LTS and latest release version of Node-RED. However it will be out of date and may need to be run twice.
56-
To use this method, run the following command as your normal user (typically `pi`):
57-
58-
update-nodejs-and-nodered
59-
60-
**Note** - If the serialport nodes do not appear when you restart, please re-run the update command. If the update command does not run or is not found then use the bash command from above.
6152

6253
**Caveat emptor** - The script has only been tested on installs with a small variety
6354
of the possible extra nodes. The script tries to rebuild any nodes with native
@@ -73,10 +64,12 @@ To see the list of nodes you had installed:
7364
cd ~/.node-red
7465
npm ls --depth=0
7566

67+
7668
#### Swapping SD Cards
7769

7870
Different versions of Raspberry Pi use different Arm processors. The Node.js binary is different for Arm6 and Arm7. Swapping SD cards from Arm6 to Arm7, for example Pi Zero to Pi 3, is OK. Swapping the other way will not work, unless you uninstall Node.js and then re-run the upgrade script to install the appropriate version of Node.js.
7971

72+
8073
#### Running Node-RED
8174

8275
To start Node-RED, you can either:

0 commit comments

Comments
 (0)