Skip to content

Commit 695daba

Browse files
author
Dave Conway-Jones
committed
keep clarifying Pi docs
1 parent 26de2c0 commit 695daba

1 file changed

Lines changed: 6 additions & 14 deletions

File tree

docs/hardware/raspberrypi.md

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,13 @@ layout: default
33
title: Running on Raspberry Pi
44
---
55

6-
There are two ways to get started with Node-RED on a Raspberry Pi.
7-
8-
- use the version preinstalled in **Raspbian** full image since November 2015.
9-
- or **manual install** using an install script.
10-
11-
You can then start [using the editor](#using-the-editor).
12-
13-
## Raspbian
14-
15-
Node-RED comes preinstalled on
16-
the full Raspbian SD card image that can be downloaded from [RaspberryPi.org](https://www.raspberrypi.org/downloads/raspbian/).
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/).
177

188
While usable, this uses an older version of Node.js and it is recommended to upgrade to the latest using the bash command below.
199

20-
If you have the minimal version of Rasbian, or other Debian based install, such as Ubuntu, or Diet-Pi, that doesn't have Node-RED
10+
## Install / Upgrade
11+
12+
If you have a version of Raspbian, or other Debian based install, such as Ubuntu, or Diet-Pi, that doesn't have Node-RED
2113
already installed, you can install or upgrade using the Node-RED upgrade script command
2214

2315
bash <(curl -sL https://raw.githubusercontent.com/node-red/raspbian-deb-package/master/resources/update-nodejs-and-nodered)
@@ -26,7 +18,7 @@ On really minimal Debian installs you may want to `sudo apt-get install build-es
2618

2719
**Note:** Once you have used this script to upgrade, you cannot use apt-get to upgrade the pre-installed version of Node-RED.
2820

29-
#### Install / Upgrade Script
21+
#### Script Description
3022

3123
Nodes can be now be managed via the built in palette manager. However the default Pi install pre-loads some
3224
nodes globally and these cannot then be easily managed and updated. The intention of the script is to...
@@ -48,7 +40,7 @@ The script will perform the following steps
4840
- remove any node-red binaries from /usr/bin and /usr/local/bin
4941
- remove any node-red modules from /usr/lib/node_modules and /usr/local/lib/node_modules
5042
- detect if Node.js was installed from Node.js package or Debian
51-
- if not v6 or newer - remove as appropriate and install latest v6 LTS (not using apt)
43+
- if not v6 or newer - remove as appropriate and install latest v8 LTS (not using apt). It will leave Node.js 6 installs as-is.
5244
- clean out npm cache and .node-gyp cache to remove any previous versions of code
5345
- install Node-RED latest version
5446
- re-install under the user account any nodes that had previously been installed globally

0 commit comments

Comments
 (0)