Category: update npm

How to update npm packages to latest version

Here is way to update node/ angular/ react project’s npm packages to latest version automatically using npm command npm-check-updates is a utility that automatically update npm package.json with used package latest version of all dependencies see https://www.npmjs.org/package/npm-check-updates npm install -g npm-check-updatesncu -unpm install A slightly less intrusive (avoids a global install) way of doing this […]

How to upgrade/ update npm vesion

This is the new best way to upgrade npm on Windows. Follow below steps Go to Window Type Run PowerShell and open as Administrator First: Run command -> Set-ExecutionPolicy Unrestricted -Scope CurrentUser -Force Secondly: npm install -g npm-windows-upgrade and then npm-windows-upgrade Note: Do not run npm i -g npm. Instead use npm-windows-upgrade to update npm going forward. Also if […]