You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/getting-started/local.md
+16-26Lines changed: 16 additions & 26 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,8 +54,8 @@ That command will install Node-RED as a global module along with its dependencie
54
54
You can confirm it has succeeded if the end of the command output looks similar to:
55
55
56
56
```
57
-
+ node-red@1.1.0
58
-
added 332 packages from 341 contributors in 18.494s
57
+
+ node-red@4.1.2
58
+
added 227 packages in 13s
59
59
found 0 vulnerabilities
60
60
```
61
61
@@ -97,21 +97,17 @@ $ node-red
97
97
98
98
Welcome to Node-RED
99
99
===================
100
-
101
-
30 Jun 23:43:39 - [info] Node-RED version: v1.3.5
102
-
30 Jun 23:43:39 - [info] Node.js version: v14.7.2
103
-
30 Jun 23:43:39 - [info] Darwin 19.6.0 x64 LE
104
-
30 Jun 23:43:39 - [info] Loading palette nodes
105
-
30 Jun 23:43:44 - [warn] rpi-gpio : Raspberry Pi specific node set inactive
106
-
30 Jun 23:43:44 - [info] Settings file : /Users/nol/.node-red/settings.js
107
-
30 Jun 23:43:44 - [info] HTTP Static : /Users/nol/node-red/web
108
-
30 Jun 23:43:44 - [info] Context store : 'default' [module=localfilesystem]
109
-
30 Jun 23:43:44 - [info] User directory : /Users/nol/.node-red
110
-
30 Jun 23:43:44 - [warn] Projects disabled : set editorTheme.projects.enabled=true to enable
111
-
30 Jun 23:43:44 - [info] Creating new flows file : flows_noltop.json
112
-
30 Jun 23:43:44 - [info] Starting flows
113
-
30 Jun 23:43:44 - [info] Started flows
114
-
30 Jun 23:43:44 - [info] Server now running at http://127.0.0.1:1880/red/
100
+
22 Dec 21:51:27 - [info] Node-RED version: v4.1.2
101
+
22 Dec 21:51:27 - [info] Node.js version: v20.19.6
102
+
22 Dec 21:51:27 - [info] Linux 6.8.0-90-generic x64 LE
103
+
22 Dec 21:51:27 - [info] Loading palette nodes
104
+
22 Dec 21:51:30 - [info] Settings file : /home/pi/.node-red/settings.js
105
+
22 Dec 21:51:30 - [info] Context store : 'default' [module=memory]
106
+
22 Dec 21:51:30 - [info] User directory : /home/pi/.node-red
107
+
22 Dec 21:51:30 - [warn] Projects disabled : editorTheme.projects.enabled=false
108
+
22 Dec 21:51:30 - [info] Flows file : /home/pi/.node-red/flows.json
109
+
22 Dec 21:51:30 - [info] Server now running at http://127.0.0.1:1880/
110
+
22 Dec 21:51:30 - [info] Starting flows
115
111
```
116
112
117
113
You can then access the Node-RED editor by pointing your browser at <http://localhost:1880>.
@@ -123,7 +119,7 @@ The log output provides you various pieces of information:
123
119
- The location of your Settings file and User Directory
124
120
- The name of the flows file it is using.
125
121
126
-
Node-RED uses `flows_<hostname>.json` as the default flows file. You can change
122
+
Node-RED uses `flows.json` as the default flows file. You can change
127
123
this by providing the flow file name as argument to the `node-red`[command](/docs/getting-started/local#command-line-usage).
128
124
129
125
### Command-line Usage
@@ -149,15 +145,12 @@ Option | Description |
149
145
`-?`, `--help` | Shows command-line usage help and exits |
150
146
`flows.json|projectName`| If the Projects feature is not enabled, this sets the flow file you want to work with. If the Projects feature is enabled, this identifies which project should be started. |
151
147
152
-
Node-RED uses `flows_<hostname>.json` as the default flows file. If the computer
153
-
you are running on may change its hostname, then you should ensure you provide a
154
-
static file name; either as a command-line argument or using the `flowsFile` option
148
+
Node-RED uses `flows.json` as the default flows file. You can provide a
149
+
different file name; either as a command-line argument or using the `flowsFile` option
155
150
in your [settings file](/docs/user-guide/runtime/settings-file).
156
151
157
152
#### Override individual settings
158
153
159
-
*Since Node-RED 1.1.0*
160
-
161
154
You can override individual settings on the command-line using the `-D` (or `--define`)
162
155
option.
163
156
@@ -178,8 +171,6 @@ logging.console.audit=true
178
171
```
179
172
180
173
181
-
182
-
183
174
### Passing arguments to the underlying Node.js process
184
175
185
176
There are occasions when it is necessary to pass arguments to the underlying
0 commit comments