windows - upgrading nodejs



Ok, not really sure why or how i missed this but the best way to upgrade nodejs without using an installer on windows is to :

Just run the code below :-

Set-ExecutionPolicy Unrestricted -Scope CurrentUser -Force
npm install -g npm-windows-upgrade
npm-windows-upgrade

Comments

Popular posts from this blog

gemini cli getting file not defined error

NodeJS: Error: spawn EINVAL in window for node version 20.20 and 18.20

vllm : Failed to infer device type