Back to previous version NR

I have installed version 1.0.2, but I have to go back to the previous version (0.20.?) Of NR. I've been searching the forum for a while but can't find it. Do I have to add / adjust anything to the command?
npm install -g --unsafe-perm node-red

You need to add the version number for example:
npm install -g --unsafe-perm node-red@0.20.8

Thank you.
I had already tried a lot and it turned out not to be difficult at all. But I couldn't find it.
So thanks again for the quick response.

For that reason I always keep several local installations (no -g switch!) of different versions in a directory. If something is misbehaving it is very easy to go back to an older version just by changing the version number in the start script of the instance in question.

This is my current compilation of well-assorted Node-RED versions. :grin: The node-red symlink points to my current default version.

.
โ”œโ”€โ”€ node-red -> node-red_1.0
โ”œโ”€โ”€ node-red_0.19
โ”‚   โ”œโ”€โ”€ node_modules
โ”‚   โ””โ”€โ”€ package.json
โ”œโ”€โ”€ node-red_0.20
โ”‚   โ”œโ”€โ”€ node_modules
โ”‚   โ””โ”€โ”€ package.json
โ””โ”€โ”€ node-red_1.0
    โ”œโ”€โ”€ node_modules
    โ””โ”€โ”€ package.json
1 Like