Trying to upgrade NR v0.19.4 to v0.20.0-beta.2 on a RPi-Zero-W

Hi,
I'm trying to upgrade a fresh copy of NR on a Raspberry Pi-Zero-W.

My first step is trying to get npm (v1.4.21) upgraded to the latest version (v6.4.1 ????).

When I use...
npm install -g npm@next
I get loads of error messages.

Any suggestions on what I'm doing wrong ???

Have you used the usual upgrade script? That would be the recommended way to get node/npm up to date.

Could you give me a link to the script?

I tried...

sudo npm install -g --unsafe-perm node-red@next

https://nodered.org/docs/hardware/raspberrypi

Thanks Paul - I'll give it a go.
It's going to take a while on a sloooow Pi-Zero

Thanks guys.

The usual upgrade script got me to v0.19.5.

Now I'm going to upgrade to v0.20.0

Thanks for all your help.

Success.... NR v0.20.0 is up and running.

Thanks for all your help.