Skip to content

Commit 0d026b5

Browse files
author
Dave Conway-Jones
committed
Update raspberrypi.md
1 parent fbe2e0c commit 0d026b5

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

docs/getting-started/raspberrypi.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ to review the contents of the script first, you can view it [on Github](https://
2525
bash <(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered)
2626
```
2727

28-
There are extra parameters you can pass to the script. Add `--help` to the above command to see them.
28+
There are extra parameters you can pass to the script. Add ` --help` to the end of the above command to see them.
2929

3030
<div class="doc-callout">
3131
<div style="float: left; margin-right: 10px; margin-bottom: 30px;">
@@ -40,7 +40,7 @@ first to ensure npm is able to fetch and build any binary modules it needs to in
4040
This script will:
4141

4242
- remove the existing version of Node-RED if present.
43-
- if it detects Node.js is already installed, it will ensure it is at least v12. If less than v12 it will stop and let the user decide whether to stay with Node-RED version 1 - or upgrade Nodejs to a more recent LTS version. If nothing is found it will install the current Node.js LTS release using the [NodeSource](https://github.com/nodesource/distributions/blob/master/README.md) package.
43+
- if it detects Node.js is already installed, it will ensure it is at least v14. If less than v14 it will stop and let the user decide whether to stay with Node-RED version 1 - or upgrade Nodejs to a more recent LTS version. If nothing is found it will install the Node.js 16 LTS release using the [NodeSource](https://github.com/nodesource/distributions/blob/master/README.md) package.
4444
- install the latest version of Node-RED using npm.
4545
- optionally install a collection of useful Pi-specific nodes.
4646
- setup Node-RED to run as a service and provide a set of commands to work with
@@ -50,10 +50,12 @@ This script will:
5050
<div style="float: left; margin-right: 10px;margin-bottom: 40px;">
5151
<img src="/images/logos/raspberrypi.svg" height="30">
5252
</div>
53+
5354
Node-RED has also been packaged for the Raspberry Pi OS repositories and appears in their
5455
list of 'Recommended Software'. This allows it to be installed using
5556
<code>apt-get install nodered</code> and includes the Raspberry Pi OS-packaged version
5657
of Node.js, but <em>does not</em> include <code>npm</code>.
58+
5759
<p><b>Note</b>: at this time the default node.js included with RaspiOS Bullseye is still v12. This means that the latest Node-RED version that can be installed is the 2.x branch. While using these packages is convenient at first, we <b>strongly recommend</b> using the install script above instead.</p>
5860
</div>
5961

0 commit comments

Comments
 (0)