How to install the historical version node-red

How to install the historical version node-red?

npm install node-red@<version number>

Well you may need to make that

sudo npm install -g --unsafe-perm node-red@<version.number>

To install it in the correct place