# How to increase font size in function node editor (Victron Cerbo)

**URL:** https://discourse.nodered.org/t/how-to-increase-font-size-in-function-node-editor-victron-cerbo/101077
**Category:** General
**Created:** [19 May 2026 11:52 UTC](https://discourse.nodered.org/t/how-to-increase-font-size-in-function-node-editor-victron-cerbo/101077 "2026-05-19T11:52:50Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![usernamepasswordBS](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/usernamepasswordbs/32/81035_2.png) [@usernamepasswordBS](https://discourse.nodered.org/u/usernamepasswordBS)
#### Post date: [19 May 2026 11:52 UTC](https://discourse.nodered.org/t/how-to-increase-font-size-in-function-node-editor-victron-cerbo/101077/1 "2026-05-19T11:52:50Z")

</div>

Hi all, on my Win 10 laptop I have tried various touchpad gestures and key combinations but the best I can get is a zoom on the whole page, not just the text within the editor.  
The actual instance of Node-red is running on another machine on my LAN, I access it via I.P address with a browser (Opera, but tried also Firefox).  
I have read that settings.js can be edited to change font size but I can't find such a file.  
Any ideas ?

---

<div class="post-metadata">

### Author: ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)
#### Post date: [19 May 2026 12:05 UTC](https://discourse.nodered.org/t/how-to-increase-font-size-in-function-node-editor-victron-cerbo/101077/2 "2026-05-19T12:05:17Z")

</div>

You can change the Monaco editor options from settings.js

```javascript
codeEditor: {
   options: {
        /** The follow options only apply if the editor is set to "monaco"
         *
         * theme - must match the file name of a theme in
         * packages/node_modules/@node-red/editor-client/src/vendor/monaco/dist/theme
         * e.g. "tomorrow-night", "upstream-sunburst", "github", "my-theme"
         */
        theme: 'vs-dark', // 'vs',
        /** other overrides can be set e.g. fontSize, fontFamily, fontLigatures etc. */
        fontSize: 14,
        // fontFamily: "Cascadia Code, Fira Code, Consolas, 'Courier New', monospace",
        fontFamily: 'Consolas, "Courier New", monospace',
        fontLigatures: false,
        colorDecorators: true,
        dragAndDrop: true,
        linkedEditing: true,
        minimap: { enabled: false },
        mouseWheelZoom: true,
        showFoldingControls: 'always',
        useTabStops: true,
        tabSize: 4,
        bracketPairColorization: { enabled: true },
    },
},

```

---

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [19 May 2026 12:26 UTC](https://discourse.nodered.org/t/how-to-increase-font-size-in-function-node-editor-victron-cerbo/101077/3 "2026-05-19T12:26:53Z")

</div>

> [@usernamepasswordBS](#):
>
> I have read that settings.js can be edited to change font size but I can't find such a file.

Look at the node red startup log and it will tell you where it is. Usually it is in the same folder as the flows file.

---

<div class="post-metadata">

### Author: ![usernamepasswordBS](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/usernamepasswordbs/32/81035_2.png) [@usernamepasswordBS](https://discourse.nodered.org/u/usernamepasswordBS)
#### Post date: [19 May 2026 14:34 UTC](https://discourse.nodered.org/t/how-to-increase-font-size-in-function-node-editor-victron-cerbo/101077/4 "2026-05-19T14:34:03Z")

</div>

Not sure how to do that. I ssh'ed into the other machine which is headless, and searched for settings.js but nothing appears.

---

<div class="post-metadata">

### Author: ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)
#### Post date: [19 May 2026 14:45 UTC](https://discourse.nodered.org/t/how-to-increase-font-size-in-function-node-editor-victron-cerbo/101077/5 "2026-05-19T14:45:44Z")

</div>

Are you running Node-RED via Dave's shell script install or via Docker?

As Colin already pointed out, the node-red log tells you where the file is when node-red starts. How you installed Node-RED determines how to view the logs.

* * *

Outside of the logs ...

If using Dave's script, you likely have it running under its own user id. Check the `/home/` folder for a node-red user folder. Then in that, you should have a `.node-red/` folder and the settings.js file is in there.

If desperate, something like this shell command should find it:

```bash
find /home -name "settings.js"

```

If using Docker, you should have set up a folder that is mounted to docker as `/data`, it will be in there.

---

<div class="post-metadata">

### Author: ![dynamicdave](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dynamicdave/32/96_2.png) [@dynamicdave](https://discourse.nodered.org/u/dynamicdave)
#### Post date: [19 May 2026 14:50 UTC](https://discourse.nodered.org/t/how-to-increase-font-size-in-function-node-editor-victron-cerbo/101077/6 "2026-05-19T14:50:27Z")

</div>

If you stop and start Node-RED from the command-line (with `$node-red-stop` and `$node-red-start`), you should see the start-up log that shows where the settings.js file is located.

```auto
Welcome to Node-RED
===================
19 May 15:46:35 - [info] Node-RED version: v5.0.0-beta.4
19 May 15:46:35 - [info] Node.js version: v20.19.1
19 May 15:46:35 - [info] Linux 6.1.21-v8+ arm LE
19 May 15:46:36 - [info] Loading palette nodes
19 May 15:46:38 - [info] node-red-contrib-telegrambot version: v17.4.0
19 May 15:46:39 - [info] Dashboard version 3.6.6 started at /ui
19 May 15:46:40 - [info] Settings file : /home/pi/.node-red/settings.js
19 May 15:46:40 - [info] Context store : 'default' [module=memory]
19 May 15:46:40 - [info] User directory : /home/pi/.node-red
19 May 15:46:40 - [info] Projects directory: /home/pi/.node-red/projects
19 May 15:46:40 - [info] Server now running at http://127.0.0.1:1880/

```

**Note:** Node-RED is in a hidden directory e.g. `/home/pi/.node-red` as shown by the **.** (dot)  
To "see" hidden directories or hidden files you need to use` $ls -a` from the command-line.

---

<div class="post-metadata">

### Author: ![jbudd](https://avatars.discourse-cdn.com/v4/letter/j/5f8ce5/32.png) [@jbudd](https://discourse.nodered.org/u/jbudd)
#### Post date: [19 May 2026 15:29 UTC](https://discourse.nodered.org/t/how-to-increase-font-size-in-function-node-editor-victron-cerbo/101077/7 "2026-05-19T15:29:05Z")

</div>

Edit : Added `tail -1` to restrict the output to just the most recent restart

> [@dynamicdave](#):
>
> **EDIT:** _ **Oops sorry,** _ just seen you are using a Windows PC, so the paths will be different.

The OP has not actually said what machine Node-red runs on, but s/he says it is headless, which, at least to me, implies it's Linux.

Assuming you have a normal Node-red installation on Linux, this command might be useful:  
`journalctl -u nodered | grep "Settings file" | tail -1`

For me, this returns  
`May 10 20:44:08 orangepi Node-RED[520]: 10 May 20:44:04 - [info] Settings file : /home/pi/.node-red/settings.js`  
It shows that settings.js is in the conventional directory, `$HOME/.node-red`

If this command gives an error, or nothing, perhaps you have an unusual installation.

---

<div class="post-metadata">

### Author: ![jbudd](https://avatars.discourse-cdn.com/v4/letter/j/5f8ce5/32.png) [@jbudd](https://discourse.nodered.org/u/jbudd)
#### Post date: [19 May 2026 15:33 UTC](https://discourse.nodered.org/t/how-to-increase-font-size-in-function-node-editor-victron-cerbo/101077/9 "2026-05-19T15:33:17Z")

</div>

The editor indeed runs in the browser, on Windows 10, but settings.js lives on the Node-red machine.

---

<div class="post-metadata">

### Author: ![dynamicdave](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dynamicdave/32/96_2.png) [@dynamicdave](https://discourse.nodered.org/u/dynamicdave)
#### Post date: [19 May 2026 15:33 UTC](https://discourse.nodered.org/t/how-to-increase-font-size-in-function-node-editor-victron-cerbo/101077/10 "2026-05-19T15:33:47Z")

</div>

Just **re-read** @usernamepasswordBS posting again and seen the statement...

> The actual instance of Node-red is running on another machine on my LAN,

---

<div class="post-metadata">

### Author: ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)
#### Post date: [19 May 2026 15:52 UTC](https://discourse.nodered.org/t/how-to-increase-font-size-in-function-node-editor-victron-cerbo/101077/11 "2026-05-19T15:52:00Z")

</div>

I have a feeling from the clues in the other thread, @usernamepasswordBS has the ace editor and/or an old version of node-red.

@usernamepasswordBS please post a screenshot of the code editor in a function node.

---

<div class="post-metadata">

### Author: ![usernamepasswordBS](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/usernamepasswordbs/32/81035_2.png) [@usernamepasswordBS](https://discourse.nodered.org/u/usernamepasswordBS)
#### Post date: [19 May 2026 16:23 UTC](https://discourse.nodered.org/t/how-to-increase-font-size-in-function-node-editor-victron-cerbo/101077/12 "2026-05-19T16:23:16Z")

</div>

This could be complicated because Node-red is running on a Victron Cerbo, the OS of which is their proprietary Linux-based Venus OS.

 ![Screenshot (25)](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/5/8/5886254dc47dacfc2054557f74bbb684402a419e.png)

---

<div class="post-metadata">

### Author: ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)
#### Post date: [20 May 2026 09:56 UTC](https://discourse.nodered.org/t/how-to-increase-font-size-in-function-node-editor-victron-cerbo/101077/13 "2026-05-20T09:56:45Z")

</div>

This is using the less capable/ outdated ACE editor. To get the most from node-red you should update to latest version (if possible) and switch to Monaco editor.

In the settings file you would set the code editor lib to `"monaco"` (on newer versions V3+ of node-red you simply remove the setting and it defaults to Monaco editor)

```js
// Existing settings 
// ...
    editorTheme: {
        codeEditor: {
            lib: "monaco", //can be "monaco" or "ace"
            options: {
                // /* theme - must match the file name of a theme in 
                // * packages/node_modules/@node-red/editor-client/src/vendor/monaco/dist/theme
                // * e.g. "tomorrow-night", "upstream-sunburst", "github", "my-theme"
                // */
                theme: "github",
                fontSize: 14,
                fontLigatures: true,
                fontFamily: "Cascadia Code, Fira Code, Consolas, 'Courier New', monospace",
                fontWeight: "300",
                colorDecorators: true,
                showFoldingControls: 'always',
                "bracketPairColorization.enabled": true
            },
// Other settings 
// ..

```

---

<div class="post-metadata">

### Author: ![usernamepasswordBS](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/usernamepasswordbs/32/81035_2.png) [@usernamepasswordBS](https://discourse.nodered.org/u/usernamepasswordBS)
#### Post date: [20 May 2026 10:25 UTC](https://discourse.nodered.org/t/how-to-increase-font-size-in-function-node-editor-victron-cerbo/101077/14 "2026-05-20T10:25:31Z")

</div>

I'm not sure if I can update Node-red without an update of the Venus OS and I'm not mad-keen on changing anything about that as it works flawlessly at the moment (I've gone and said it now !)

It says it's V3.1.10.

---

<div class="post-metadata">

### Author: ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)
#### Post date: [20 May 2026 11:11 UTC](https://discourse.nodered.org/t/how-to-increase-font-size-in-function-node-editor-victron-cerbo/101077/15 "2026-05-20T11:11:06Z")

</div>

I can't remember when Monaco was implemented. Steve seems to be suggesting that v3+ should be OK. So you still need to edit the settings.js file as already indicated.

---

<div class="post-metadata">

### Author: ![usernamepasswordBS](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/usernamepasswordbs/32/81035_2.png) [@usernamepasswordBS](https://discourse.nodered.org/u/usernamepasswordBS)
#### Post date: [20 May 2026 11:18 UTC](https://discourse.nodered.org/t/how-to-increase-font-size-in-function-node-editor-victron-cerbo/101077/16 "2026-05-20T11:18:57Z")

</div>

I will have another hunt for the settings file and add Steve's lines.  
Thanks all.

---

<div class="post-metadata">

### Author: ![usernamepasswordBS](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/usernamepasswordbs/32/81035_2.png) [@usernamepasswordBS](https://discourse.nodered.org/u/usernamepasswordBS)
#### Post date: [1 June 2026 11:59 UTC](https://discourse.nodered.org/t/how-to-increase-font-size-in-function-node-editor-victron-cerbo/101077/17 "2026-06-01T11:59:12Z")

</div>

O.k. so I found the settings files: I have settings-user.js which contains only:

module.exports = {  
uiHost: "::"  
}

And another file called "settings.js.old" which does contain the relevant lines so I have uncommented the font size option in that file. However, Node-red is not working today for some unkown reason so I can't check if it works !  
I also wonder if the settings.js.old file will actually be read by the system.

---

<div class="post-metadata">

### Author: ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)
#### Post date: [1 June 2026 12:22 UTC](https://discourse.nodered.org/t/how-to-increase-font-size-in-function-node-editor-victron-cerbo/101077/18 "2026-06-01T12:22:12Z")

</div>

> [@usernamepasswordBS](#):
>
> I also wonder if the settings.js.old file will actually be read by the system

No. Not on standard node-red. I have no idea what victron does.

But based on the fact the settings file is mostly empty, you are probably running a very old version of node-red since at some point (v3.x) Monaco became the default editor (and an empty settings file should have defaulted you to Monaco)

Maybe you should see if there is a firmware update for your unit.

---

<div class="post-metadata">

### Author: ![FireWizard52](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/firewizard52/32/34508_2.png) [@FireWizard52](https://discourse.nodered.org/u/FireWizard52)
#### Post date: [1 June 2026 12:28 UTC](https://discourse.nodered.org/t/how-to-increase-font-size-in-function-node-editor-victron-cerbo/101077/19 "2026-06-01T12:28:00Z")

</div>

Hi @TotallyInformation,

August 2021, I moved from Ace to Monaco, but I was not an early adaptor. The Monaco editor has been added to Node-Red in version 2.0.0-beta 1.  
Version 2.0.0 has been released July 20, 2021.

Regards

---

<div class="post-metadata">

### Author: ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)
#### Post date: [1 June 2026 12:51 UTC](https://discourse.nodered.org/t/how-to-increase-font-size-in-function-node-editor-victron-cerbo/101077/20 "2026-06-01T12:51:48Z")

</div>

> [@usernamepasswordBS](#):
>
> I also wonder if the settings.js.old file will actually be read by the system

Not unless Victron have done something special.

It would be very much easier if we could see some log output. On Venus OS, I believe that the logs are in the `/data/log/` folder. You should track down the log for Node-RED and show us at least the lines from where Node-RED starts up to about where is stays "Flows started".

---

<div class="post-metadata">

### Author: ![usernamepasswordBS](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/usernamepasswordbs/32/81035_2.png) [@usernamepasswordBS](https://discourse.nodered.org/u/usernamepasswordBS)
#### Post date: [1 June 2026 14:02 UTC](https://discourse.nodered.org/t/how-to-increase-font-size-in-function-node-editor-victron-cerbo/101077/21 "2026-06-01T14:02:20Z")

</div>

I have found a folder that may have logs in it but I'll come back to that. At the moment I can't get node-red to open, it either says roughly "no node-red sevice running" or it will get as far as the Node-red banner but gets no further.  
Could this be due to some nodes that were suspect ? If so, can I delete them from flows.json via ssh ?

[Next page](https://discourse.nodered.org/t/how-to-increase-font-size-in-function-node-editor-victron-cerbo/101077.md?page=2)
