Unable to update Node-RED on Openhabian due to too old Node.js version

I tried updating Node-RED through openhabian-config, but it complains my version of Node.js is too old. My Openhabian is updated to Bullseye and it uses the Node.js version from the debian repository, which is only version 14.

What is the recommended way of upgrading my Node-RED installation to the latest version?

Did you try to deinstall the OS nodejs package and install the one that is supported by openhabian-config ?
openhabian-config first checks if nodejs is installed. In case it is not installed openhabian-config adds the nodejs repository from https://deb.nodesource.com/node_18.x .

So I remove nodejs, and tried installing it through openhabian-config. That didn’t work, as openhabian-config tries to install nodejs and npm, and they conflict.

So I manually installed just nodejs, and that installed v18 (and npm with it apparently). Running the installer from openhabian-config then upgraded my Node-RED install to 3.x. And it seems to work.

Not really a smooth experience though.

then please start a PR to improve things.