Skip to content

add --clean option #70

Open
jdotbdot wants to merge 1 commit into
node-red:masterfrom
jdotbdot:master
Open

add --clean option #70
jdotbdot wants to merge 1 commit into
node-red:masterfrom
jdotbdot:master

Conversation

@jdotbdot

Copy link
Copy Markdown

This command line option gives a clean Node-red and Node.js installation the same as a first time install.
All non-core nodes installed, flows, settings.js and other customisations are removed.

  • Give warning about deleting .node-red directory.
  • Stop Node-red.
  • Set FORCE_NODE="y" to reinstall the default node.js. (unless overridden by eg --node22)
  • Delete the .node-red directory, thus removing installed nodes, existing flows, settings file & other customisation.
  • Install default Node-red version. (unless overridden by eg --nodered-version=4.1.1)
  • Replace systemd script with the current default.
  • Run admin init script. (unless overridden by --no-init)
  • Do not restart Node-red - though if systemd script is enabled it remains enabled.

@linux-foundation-easycla

linux-foundation-easycla Bot commented Jul 22, 2026

Copy link
Copy Markdown

CLA Signed
The committers listed above are authorized under a signed CLA.

  • ✅ login: jdotbdot / name: jdotbdot (a37bf5a)

@dceejay
dceejay self-requested a review July 22, 2026 17:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant