skip to content
sooriya

dealing with node-red like a nerd

/ 2 min read

last updated:

update

this post is out of date. will try to update with the medibay project code when time permits. in the meantime if you found it working or found a workaround feel free to open a pull request or ping me.

exposition

by this time you probably know what node-red is and what is it used for if you really wanna know, ping me in x. this post tells you how to install node-red in a way that you can use it like a modern day chad.

installation

nowadays i use bun for everything javascript. hence why not install and manage node-red with it. since i haven’t faced any issues yet and it’s way faster and cooler, i would recommend you to do that too. now bun is kinda stable in windows and usable in unix. how bad can it be? if it’s not your cup of tea, just use node instead, it’s not that hard.

bunx --bun node-red

now visit your local host url to see the node-red interface.

somethin extra

here are some of the few things that i do to make my life a teeny bit easier

installing themes

if you don’t know already being a dark mode fanatic, can’t live with staring at a white screen for too long. hence installing a dark theme for node-red is the obvious next step. here’s how you can do it too.

  1. navigate to $HOME/.node-red in terminal and install community themes

    bun install @node-red-contrib-themes/theme-collection
  2. modify the settings

    editorTheme: {
    theme: "dracula",
    codeEditor: {
    lib: "monaco",
    options: {
    // theme: "",
    },
    },
    },