Once installed as a global module you can use the node-red
command to start Node-RED in your terminal. You can use Ctrl-C
or close the terminal window to stop Node-RED.
$ node-red
Welcome to Node-RED
===================
11 Oct 23:43:39 - [info] Node-RED version: v1.0.2
11 Oct 23:43:39 - [info] Node.js version: v10.16.3
11 Oct 23:43:39 - [info] Darwin 18.7.0 x64 LE
11 Oct 23:43:39 - [info] Loading palette nodes
11 Oct 23:43:44 - [warn] rpi-gpio : Raspberry Pi specific node set inactive
11 Oct 23:43:44 - [info] Settings file : /Users/nol/.node-red/settings.js
11 Oct 23:43:44 - [info] HTTP Static : /Users/nol/node-red/web
11 Oct 23:43:44 - [info] Context store : 'default' [module=localfilesystem]
11 Oct 23:43:44 - [info] User directory : /Users/nol/.node-red
11 Oct 23:43:44 - [warn] Projects disabled : set editorTheme.projects.enabled=true to enable
11 Oct 23:43:44 - [info] Creating new flows file : flows_noltop.json
11 Oct 23:43:44 - [info] Starting flows
11 Oct 23:43:44 - [info] Started flows
11 Oct 23:43:44 - [info] Server now running at http://127.0.0.1:1880/red/
是不是上面这个路径,找到settings.js文件进行修改