Upgrading npm version in Window
- Check npm version
- Window run window PowerShell as administrator
- Run command >>npm install –global –production npm-windows-upgrade.
- Next run command >> npm-windows-upgrade
Upgrading node version in Window
Upgrading node in the window is easy as we have to download the latest Node js from node website and install the latest version will override the existing old node version in the window.
Note: Change in node version will affect our existing project eg ionic, as the environment had changed, so we need to run some command to change the environment. In ionic run the following command.