Skip to content

Commit b7e3a28

Browse files
author
Dave Conway-Jones
committed
doc tidy, add snap install plus comment
1 parent 61b8de8 commit b7e3a28

File tree

2 files changed

+16
-5
lines changed

2 files changed

+16
-5
lines changed

docs/getting-started/installation.md

+11
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,17 @@ Note: <code>sudo</code> is only required during the install when running on Linu
3232
running on Windows, see the <a href="../platforms/windows">Windows Install instructions</a>.
3333
</div>
3434

35+
### Install via SNAP
36+
37+
If your OS supports [SNAPs](https://snapcraft.io/docs/core/install) you can install Node-RED with:
38+
39+
snap install node-red
40+
41+
but please note that this runs in a secure container and so does not have access to any extra facilities
42+
that may be needed for your use, such as gcc to compile nodes that have native plugins, git (for projects),
43+
direct access to gpio, any external programs (to call out to), and so on. You can run it in "classic"
44+
mode, which reduces the container security, but we leave that as an exercise for the reader.
45+
3546
#### Next
3647

3748
Once installed, you are ready to [run Node-RED](running).

docs/getting-started/running.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ You can now create your [first flow](first-flow).
4242

4343
### Command-line usage
4444

45-
Usage: node-red [-v] [-?] [--port PORT] [--safe] [--settings settings.js]
45+
Usage: node-red [-v] [-?] [--port PORT] [--safe] [--settings settings.js]
4646
[--title TITLE] [--userDir DIR] [flows.json]
4747

4848
Options:
@@ -53,13 +53,13 @@ You can now create your [first flow](first-flow).
5353
-u, --userDir DIR use specified user directory
5454
-v enable verbose output
5555
-?, --help show usage
56-
flows.json name of the flow file you want to work with. Using different names,
57-
such as greenhouse.json or robot.json, you can separate different
58-
undertakings you are working on. If you don't specify a name, it
56+
flows.json name of the flow file you want to work with. Using different names,
57+
such as greenhouse.json or robot.json, you can separate different
58+
undertakings you are working on. If you don't specify a name, it
5959
defaults to flows_xxx.json where xxx is the hostname of your server.
6060

6161
----
62-
62+
6363
#### Running from a local install - Linux & Mac OS X
6464

6565
The `node-red` command can still be accessed even if Node-RED hasn't been installed

0 commit comments

Comments
 (0)