Skip to content

Proposed new Debian install script command line flag --force #69

Description

@jdotbdot

Description

This command line option will cause the installer to

  • Delete the .node-red directory, thus removing any installed nodes and customisations, including settings.js.
  • Replace any customised systemd startup script with the current release version.
  • Force re-install of node-js using the current default version (--node24, --node26 etc will override this).
  • Always run node-red admin init (--no-init will override this).

Usage

bash <(curl -sL https://github.com/node-red/linux-installers/releases/latest/download/install-update-nodered-deb) --force
Do a clean installation using the latest node-red and default node.js version & systemd script.

bash <(curl -sL https://github.com/node-red/linux-installers/releases/latest/download/install-update-nodered-deb) --force --node24 --nodered-version=4.1.10
Install node.js 24, Node-red 4.1.10, removing any customisation in .node-red directory. Install default systemd script.

Code

This code has small modifications to deb/install-update-nodered 98c76a7 dated 11th July 2026.

Well of course the script has changed since then. I have deleted my code below.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions