How to upgrade nodejs and npm?

  node.js, question

How to Upgrade nodejs and npm in windows Environment

I tried
npm update node -g
But it didn’t work.

According to the Internet
npm install –g n
Install this package to manage node
But it can’t be installed

windowsLet’s not do this now, it’s hard! DirectThe official websiteThe next latestnodeInstallation package, Cover the installation,nodeAndnpmThey are all up to date.