Обновление NPM
// update npm//
npm install -g npm@latest
Code_Breaker
// update npm//
npm install -g npm@latest
# to install
npm install -g npm-check-updates
# to use
npx npm-check-updates -u
npm install
// update npm//
npm install -g npm@latest
$npm update
npm outdated -g --depth=0
npm outdated