NPM and NodeJS Cheatsheet

Update NPM modules

# admin permissions required
npm update -g

Update NPM

# admin permissions required
Set-ExecutionPolicy Unrestricted -Scope CurrentUser -Force
npm install -g npm-windows-upgrade
npm-windows-upgrade
# see also https://github.com/felixrieseberg/npm-windows-upgrade

Paul Sterl has written 25 articles

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>