DEV Community

Discussion on: Do you know all the popular NPM commands?

Collapse
 
ptrjsn profile image
Peter Johnson

Good overview! As a consumer, rather than a publisher, I've also used npm outdated and npm update a lot to stay ahead of dependency vulnerabilities. You can even run npm update to install dependencies in package.json the first time & get the latest matching those versions, instead of calling npm install first.