Find outdated npm global packages

Chutipong Roobklom
Nov 5 · 1 min read

When I try to use npm to do something and I find warning messages that tell me you need to upgrade my npm package. The problem is which one I need to upgrade. Here is the way to find them.

npm list --depth=0 -g

After run this command in Terminal, it will show you outdated packages globally.

If you want to update just type this on Terminal

npm update <packagename> -g

Done !!!

Written by

A Software developer @Thaibev PLC

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade