Do you read the version of Node-RED from the terminal or from the editor (browser) because you have to refresh the editor. Do you get an error when launching NR?
Do you have v20.3.0 when you run the command node -v?
I read the number 2.2.1 from terminal and in browser too.
Yes, if I run the command you said it returns
v20.3.0
I attach what I see when run node-red command
PS C:\Users\Nu!Reha> node-red
12 Jun 14:41:03 - [info]
Welcome to Node-RED
===================
12 Jun 14:41:03 - [info] Node-RED version: v2.2.1
12 Jun 14:41:03 - [info] Node.js version: v20.3.0
12 Jun 14:41:03 - [info] Windows_NT 10.0.19045 x64 LE
12 Jun 14:41:04 - [info] Loading palette nodes
12 Jun 14:41:05 - [warn] [node-red-contrib-tuya-smart-device] Node module cannot be loaded on this version. Requires: >=2.5.0
12 Jun 14:41:06 - [info] Dashboard version 3.5.0 started at /ui
12 Jun 14:41:06 - [info] Settings file : C:\Users\Nu!Reha\.node-red\settings.js
12 Jun 14:41:06 - [info] Context store : 'default' [module=memory]
12 Jun 14:41:06 - [info] User directory : /home/nol/.node-red/
12 Jun 14:41:06 - [warn] Projects disabled : editorTheme.projects.enabled=false
12 Jun 14:41:06 - [info] Flows file : \home\nol\.node-red\flows.json
12 Jun 14:41:06 - [info] Server now running at http://127.0.0.1:1880/
12 Jun 14:41:06 - [warn]
---------------------------------------------------------------------
Your flow credentials file is encrypted using a system-generated key.
If the system-generated key is lost for any reason, your credentials
file will not be recoverable, you will have to delete it and re-enter
your credentials.
You should set your own key using the 'credentialSecret' option in
your settings file. Node-RED will then re-encrypt your credentials
file using your chosen key the next time you deploy a change.
---------------------------------------------------------------------
12 Jun 14:41:06 - [info] Starting flows
12 Jun 14:41:06 - [info] Started flows
12 Jun 14:41:06 - [info] [alexa-remote-account:e66d9d76ee78d58e] intialising with the PROXY method and saved data...
Hi @Steve-Mcl
I have done what you said and this is the startup log
PS C:\Users\Nu!Reha> node-red
12 Jun 15:39:40 - [info]
Welcome to Node-RED
===================
12 Jun 15:39:40 - [info] Node-RED version: v2.2.1
12 Jun 15:39:40 - [info] Node.js version: v20.3.0
12 Jun 15:39:40 - [info] Windows_NT 10.0.19045 x64 LE
12 Jun 15:39:40 - [info] Loading palette nodes
12 Jun 15:39:41 - [info] Settings file : C:\Users\Nu!Reha\.node-red\settings.js
12 Jun 15:39:41 - [info] Context store : 'default' [module=memory]
12 Jun 15:39:41 - [info] User directory : \Users\Nu!Reha\.node-red
12 Jun 15:39:41 - [warn] Projects disabled : editorTheme.projects.enabled=false
12 Jun 15:39:41 - [info] Flows file : \Users\Nu!Reha\.node-red\flows.json
12 Jun 15:39:41 - [info] Creating new flow file
12 Jun 15:39:41 - [warn]
---------------------------------------------------------------------
Your flow credentials file is encrypted using a system-generated key.
If the system-generated key is lost for any reason, your credentials
file will not be recoverable, you will have to delete it and re-enter
your credentials.
You should set your own key using the 'credentialSecret' option in
your settings file. Node-RED will then re-encrypt your credentials
file using your chosen key the next time you deploy a change.
---------------------------------------------------------------------
12 Jun 15:39:41 - [info] Server now running at http://127.0.0.1:1880/
12 Jun 15:39:41 - [info] Starting flows
12 Jun 15:39:41 - [info] Started flows
Now I have not my flows no more, there is nothing
Then if I use the command
where node-red
I obtain nothing
PS C:\Users\Nu!Reha> where node-red
PS C:\Users\Nu!Reha>
I guess now you need to modify the shortcut (C:\Users\Nu!Reha\AppData\Roaming\npm\node-red) to point to C:\Users\Nu!Reha\.node-red\red.js.
For existing files/folders in this folder you can move them to C:\Users\Nu!Reha\.node-red but first let's ask @Steve-Mcl if it's correct
EDIT: I don't know where the Node-RED binary file is located on Windows
Ok so the Node-RED module is stored at C:\Users\Nu!Reha\AppData\Roaming\npm\node_modules\node-red.
This folder also contains a settings file: is userDir commented?
The package.json should show 3.0.2 as the version