Skip to content

Commit 586fc04

Browse files
authored
Merge pull request #200 from colinl/Windows_link
Reorganised start of Running Locally page for clarity.
2 parents 8d98a3d + b6732e7 commit 586fc04

File tree

1 file changed

+12
-17
lines changed

1 file changed

+12
-17
lines changed

docs/getting-started/local.md

Lines changed: 12 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,6 @@ redirect_from:
1010

1111
---
1212

13-
### Prerequisites
14-
15-
To install Node-RED locally you will need a [supported version of Node.js](/docs/faq/node-versions).
16-
1713
<div class="doc-callout">
1814
<div style="float: left; margin-right: 10px;"><img src="/images/logos/raspberrypi.svg" height="30">
1915
<img src="/images/logos/debian.svg" height="30">
@@ -32,6 +28,17 @@ If you are on an RPM-based operating system, including
3228
RedHat, Fedora and CentOS, you can use the RPM install script available <a href="https://github.com/node-red/linux-installers">here</a>.
3329
</div>
3430

31+
<div class="doc-callout">
32+
<div style="float: left; margin-right: 10px; margin-bottom: 10px;">
33+
<img src="/images/logos/windows.svg" height="30">
34+
</div>
35+
If you are using Windows, detailed instructions for installing Node-RED can be found <a href="/docs/getting-started/windows">here</a>.
36+
</div>
37+
38+
### Prerequisites
39+
40+
To install Node-RED locally you will need a [supported version of Node.js](/docs/faq/node-versions).
41+
3542
### Installing with npm
3643

3744
To install Node-RED you can use the `npm` command that comes with node.js:
@@ -40,15 +47,9 @@ To install Node-RED you can use the `npm` command that comes with node.js:
4047
sudo npm install -g --unsafe-perm node-red
4148
```
4249

43-
<div class="doc-callout">
44-
<div style="float: left; margin-right: 10px; margin-bottom: 10px;">
45-
<img src="/images/logos/windows.svg" height="30">
46-
</div>
4750
If you are using Windows, do not start the command with <code>sudo</code>.
48-
More information about installing Node-RED on Windows can be found <a href="/docs/getting-started/windows">here</a>.
49-
</div>
5051

51-
This command will install Node-RED as a global module along with its dependencies.
52+
That command will install Node-RED as a global module along with its dependencies.
5253

5354
You can confirm it has succeeded if the end of the command output looks similar to:
5455

@@ -216,13 +217,7 @@ latest version with the following command:
216217
sudo npm install -g --unsafe-perm node-red
217218
```
218219

219-
<div class="doc-callout">
220-
<div style="float: left; margin-right: 10px; margin-bottom: 10px;">
221-
<img src="/images/logos/windows.svg" height="30">
222-
</div>
223220
If you are using Windows, do not start the command with <code>sudo</code>.
224-
</div>
225-
226221

227222

228223

0 commit comments

Comments
 (0)