Node is an extremely dynamic platform that is always changing. Packages have frequent updates, and as a personal preference, I like to update my global packages frequently.
I feel comfortable doing this because each individual application I develop defines dependencies and dependency versions in it’s own package.json file. As always, I take zero responsibility and risk for these instructions.
How to list Outdated Global Packages in NPM
To list outdated packages, open your terminal emulator and type:
npm outdated -g --depth=0
You should see a list of packages with the following information: Package Name, Current Version, Wanted Version, Latest Version and Location.
How to Update Outdated Global Packages in NPM
To update your outdated global packages, open your terminal emulator and type:
npm update -g
As always, comment if you get stuck, have any questions or anything else.
Hi there mates, its wonderful post about tutoringand completely explained, keep it up all