Skip to content

Commit 30d4140

Browse files
author
Dave Conway-Jones
committed
try to make Pi install even more clear.
1 parent bb6ac50 commit 30d4140

File tree

2 files changed

+13
-12
lines changed

2 files changed

+13
-12
lines changed

docs/hardware/beagleboneblack.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ title: Running on BeagleBone Boards
44
---
55

66
We recommend using the latest Debian 9 Stretch based SD card images - from
7-
<a href="https://beagleboard.org/latest-images" target="_new">beagleboard.org</a>.
7+
<a href="https://beagleboard.org/latest-images" target="bbb">beagleboard.org</a>.
88

9-
The 4GB images for BeagleBone boards already have Node-RED pre-installed and set to auto-start, so you can just boot
10-
and point your browser at your BeagleBone, port 1880.
9+
The 4GB images for BeagleBone boards already have Node-RED pre-installed and set to auto-start,
10+
so you can just boot and point your browser at your BeagleBone, port 1880.
1111

1212
The 2GB console version suitable for flashing to older eMMC versions of the BBB is not recommended but can be
1313
installed as per the manual installation instructions below.
@@ -46,8 +46,9 @@ This should also restart the Node-RED service - but you will need to refresh any
4646

4747
If you are on the 2017 Debian 9.2 version you may need to run `sudo apt full-upgrade` first.
4848

49-
**Note**: Do NOT use the Raspberry Pi / Debian upgrade script (`update-nodejs-and-nodered`) as it will re-install
50-
both Node.js and Node-RED in different locations and will conflict with and break the existing systemd configuration files.
49+
**Note**: Do NOT use the Raspberry Pi / Debian upgrade script (`update-nodejs-and-nodered`) as
50+
it will re-install both Node.js and Node-RED in different locations and will conflict with and
51+
break the existing systemd configuration files.
5152

5253
---
5354

@@ -85,10 +86,10 @@ software certificates date checks to be valid.
8586

8687
#### Updating Node.js
8788

88-
We recommend using Node.js LTS 6.x or 8.x
89+
We recommend using Node.js LTS 8.x or 10.x
8990

9091
sudo apt-get install curl
91-
curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
92+
curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
9293
sudo apt-get install -y build-essential nodejs
9394
hash -r
9495

docs/hardware/raspberrypi.md

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

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, you should upgrade by re-running the script.
8-
If you decide to stick with apt to install npm then you must upgrade it to the latest by `sudo npm i -g npm` before adding any extra nodes.
6+
The recommended way to install Node-RED on Pi is to use our script below, however Node-RED can be installed from the 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 is recommended to upgrade by using the script below.
7+
8+
If you decide to not to use the script, and stick with apt to install Node-RED, then you **must** manually install npm and then upgrade it to the latest level by `sudo apt-get install npm && sudo npm i -g npm` before installing any extra nodes.
9+
10+
You can upgrade Node-RED by re-running the script.
911

1012
### Install / Upgrade
1113

@@ -16,8 +18,6 @@ already installed, you can install or upgrade using the Node-RED upgrade script
1618

1719
On really minimal Debian installs you may want to `sudo apt-get install build-essential` before running the script so that the serialport builds and installs OK. This is optional.
1820

19-
**Note:** Once you have used this script to upgrade, you cannot use apt-get to upgrade the pre-installed version of Node-RED.
20-
2121
#### Script Description
2222

2323
Nodes can be now be managed via the built in palette manager. However the default Pi install pre-loads some

0 commit comments

Comments
 (0)