Download Node.js Installer
Go to Nodejs.org. Click the Windows Installer button to download the latest default version. it will start downloading the .msi file (Latest LTS Version: 14.15.4 (includes npm 6.14.10)) The Node.js installer includes the NPM package manager.
Once the installer finishes downloading, launch it. Open the downloads link in your browser and click the file. noting to change manually click on next > next > next.. Finally, click the Install button to run the installer. When it finishes, click Finish.
Open a command prompt (or PowerShell), and enter the following:
The system should display the Node.js version installed on your system. You can do the same for NPM:
How to Update Node.js and NPM on Windows
The easiest way to update Node.js and NPM is to download the latest version of the software. On the Node.js download page, right below the Windows Installer link, it will display the latest version. You can compare this to the version you have installed.
How to Uninstall Node.js and NPM on Windows
You can uninstall Node.js from the Control Panel in Windows.
To do so:
- Click the Start button > Settings (gear icon) > Apps.
- Scroll down to find Node.js and click to highlight.
- Select Uninstall. This launches a wizard to uninstall the software.